CVE-2025-54370 Details
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.
A server-side request forgery (SSRF) vulnerability has been identified in the PhpOffice PhpSpreadsheet library, specifically in versions prior to 1.30.0, 2.1.12, 2.4.0, 3.10.0, and 5.0.0. The issue arises in the 'setPath' method of the 'PhpOffice\PhpSpreadsheet\Worksheet\Drawing' class, where user-supplied strings are improperly handled. This vulnerability allows crafted HTML documents to be processed and displayed in a way that could exploit internal resources.
Users can update to PhpSpreadsheet versions 1.30.0, 2.1.12, 2.4.0, 3.10.0, or 5.0.0 to address this vulnerability.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Aug 25, 2025CISA-ADP
Assessed Aug 25, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-918 | Server-Side Request Forgery (SSRF) | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| PhpOffice PhpSpreadsheet | < 1.30.0 (semver) >= 2.0.0, < 2.1.12 (semver) >= 2.2.0, < 2.4.0 (semver) >= 3.0.0, < 3.10.0 (semver) >= 4.0.0, < 5.0.0 (semver) |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Aug 25, 2025 | New CVE Received | [email protected] |
Volerion