CVE-2025-54370

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

HIGH
8.7
CVSS Score
Published: August 25, 2025 at 02:08 PM UTC
Updated: June 17, 2026 at 09:39 AM UTC
1 product affected across 1 vendorPhpSpreadsheet

Using PhpSpreadsheet by PHPOffice?

Get instant alerts when new vulnerabilities affect PhpSpreadsheet - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH8.7
Exploit prediction
EPSS 0.8%
SSVC
PoC

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 1.30.0v < 2.1.12v < 2.4.0v < 3.10.0v < 5.0.0
Affected range stops below 1.30.0, so it looks safe — our inference, not a vendor statement
Affected range stops below 2.1.12, so it looks safe — our inference, not a vendor statement
Affected range stops below 2.4.0, so it looks safe — our inference, not a vendor statement
Affected range stops below 3.10.0, so it looks safe — our inference, not a vendor statement
Affected range stops below 5.0.0, so it looks safe — our inference, not a vendor statement

Remediation

No guide yet

No remediation guidance has been written for this CVE yet, and no fixed version or vendor advisory is recorded against it.

SSVC — Action Prioritization

SSVCPoCAutomatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

8.7HIGHGitHub_M
Vector?

Quick Info

StatusDEFERRED
CWE
CWE-918

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card