Mend.io Vulnerability Database
The largest open source vulnerability database
What is a Vulnerability ID?
New vulnerability? Tell us about it!
CVE-2025-54370
August 25, 2025
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.
Affected Packages
https://github.com/PHPOffice/PhpSpreadsheet.git (GITHUB):
Affected version(s) >=3.3.0 <3.10.0
Fix Suggestion:
Update to version 3.10.0
https://github.com/PHPOffice/PhpSpreadsheet.git (GITHUB):
Affected version(s) >=2.2.0 <2.4.0
Fix Suggestion:
Update to version 2.4.0
https://github.com/PHPOffice/PhpSpreadsheet.git (GITHUB):
Affected version(s) >=2.0.0 <2.1.12
Fix Suggestion:
Update to version 2.1.12
https://github.com/PHPOffice/PhpSpreadsheet.git (GITHUB):
Affected version(s) >=4.0.0 <5.0.0
Fix Suggestion:
Update to version 5.0.0
https://github.com/PHPOffice/PhpSpreadsheet.git (GITHUB):
Affected version(s) >=1.0.0 <1.30.0
Fix Suggestion:
Update to version 1.30.0
Do you need more information?
Contact Us
CVSS v4
Base Score:
8.7
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
NONE
Vulnerable System Availability
NONE
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
7.5
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
NONE
Availability
NONE
Weakness Type (CWE)
Server-Side Request Forgery (SSRF)
EPSS
Base Score:
0.10