BREACHSPIDER
CVE databaseVendorsIntelFeaturesDevelopersDocsPricingSign inStart free trial

CVE-2025-54370 in Class products

No CVSS score published

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\Worksh...

Affects 0 products from 2 vendors. Facts below cite their sources.

CVSS v48.7
EPSS0.9%
EPSS percentile59th
FixUnknown

Affected products and versions

VendorProductAffected versions
Class — —
Phpoffice — —

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

No official vendor advisory link on record. See the CVE record.

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official 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.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2025-54370
BreachSpider IDBS-2025-GLOBAL-273643-I
Published2025-08-25
Last modified2026-04-15
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-918: Server-Side Request Forgery (SSRF)

Attacker causes the server to make HTTP requests to attacker-chosen destinations, potentially reaching internal services.

Related attack patterns (CAPEC)

CAPEC-664 Server Side Request Forgery via CWE-918

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

{ "executive_summary": "PhpOffice/PhpSpreadsheet versions prior to 1.30.0, 2.1.12, 2.4.0, 3.10.0, and 5.0.0 are vulnerable to Server-Side Request Forgery (SSRF) due to improper validation of user input in the setPath method of the PhpOffice\PhpSpreadsheet\Worksheet\Drawing class.", "attack_vector_detail": "An attacker can exploit this vulnerability by providing a malicious URL to the setPath method, which can lead to the server making unauthorized requests to internal or external resources, potentially leading to data exfiltration or other malicious activities.", "affected_components": ["PhpOffice/PhpSpreadsheet < 1.30.0", "PhpOffice/PhpSpreadsheet < 2.1.12", "PhpOffice/PhpSpreadsheet < 2.4.0", "PhpOffice/PhpSpreadsheet < 3.10.0", "PhpOffice/PhpSpreadsheet < 5.0.0"], "exploitation_likelihood": "MEDIUM", "remediation_priority": "HIGH", "confidence

Vulnerability details: 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. CVSS vector: Not available.

Questions

What is CVE-2025-54370?

{ "executive_summary": "PhpOffice/PhpSpreadsheet versions prior to 1.30.0, 2.1.12, 2.4.0, 3.10.0, and 5.0.0 are vulnerable to Server-Side Request Forgery (SSRF) due to improper validation of user input in the setPath method of the PhpOffice\PhpSpreadsheet\Worksheet\Drawing class.", "attack_vector_detail": "An attacker can exploit this vulnerability by providing a malicious URL to the setPath method, which can lead to the server making unauthorized requests to internal or external resources,

Is CVE-2025-54370 actively exploited?

No confirmed active exploitation of CVE-2025-54370 as of 2026-05-30.

How do I remediate CVE-2025-54370?

Priority: MONITOR.

What systems are affected by CVE-2025-54370?

CVE-2025-54370 affects Class; Phpoffice.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Class","product":"EDS-518A","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-04-15.