CVE-2025-54370 - CVE House
Back to Database
Status published High CVE-2025-54370

PhpSpreadsheet vulnerable to SSRF when reading and displaying a processed HTML document in the browser

Vulnerability Description

PhpOffice/PhpSpreadsheet is a pure PHP library for reading and writing spreadsheet files. Prior to versions 1.30.0, 2.1.12, 2.4.0, 3.10.0, and 5.0.0, SSRF can occur when a processed HTML document is read and displayed in the browser. The vulnerability lies in the setPath method of the PhpOffice\PhpSpreadsheet\Worksheet\Drawing class, where a crafted string from the user is passed to the HTML reader. This issue has been patched in versions 1.30.0, 2.1.12, 2.4.0, 3.10.0, and 5.0.0.

Impact Analysis

Refer to official advisory for detailed impact metrics.

Remediation

Ensure systems are updated to the latest vendor-supplied patch levels.

THREAT MONITOR

Am I Vulnerable?

Launch our assessment wizard to check if your infrastructure is exposed to • CVE-2025-54370

Credits & Attribution

No credits recorded in the NVD database.

Affected Vendor

Affected Software

PhpSpreadsheet
Vulnerable Versions:
< 1.30.0, >= 2.0.0, < 2.1.12, >= 2.2.0, < 2.4.0, >= 3.0.0, < 3.10.0, >= 4.0.0, < 5.0.0

Timeline

Official Publish: August 25th, 2025
Last Modified: August 25th, 2025
Added to House: July 22nd, 2026

CVSS Vectors

Weaknesses (CWE)