CVE-2025-54370CWE-918

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

High · published August 25, 2025

CVSS v4.0
8.7
EPSS
1%
Percentile
57.1
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v4.0
8.7 · HIGH
Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
EPSS
0.00831 · 57.1th percentile
Weakness
CWE-918 · Server-Side Request Forgery (SSRF)
Published
2025-08-25T14:08Z
EPSS history
Timeline
  • 25 AUG 14:08Z
    PhpSpreadsheet vulnerable to SSRF when reading and displaying a processed HTML document in the browser
    cvelistv5