CVE-2025-54370: PhpSpreadsheet vulnerable to SSRF when reading and displaying a processed HTML document in the browser

high Affects phpoffice/phpspreadsheet. Feed 2026.10.29.4, updated 2026-10-29; published ; advisory modified .

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

Package
phpoffice/phpspreadsheet Composer
Affected versions
<1.30.0 or >=2.0.0 and <2.1.12 or >=2.2.0 and <2.4.0 or >=3.0.0 and <3.10.0 or >=4.0.0 and <5.0.0 or >=2.0.0 and <2.1.0 or >=2.1.0 and <2.1.12 or >=2.2.0 and <2.3.0 or >=2.3.0 and <2.4.0
Fixed in
1.30.0, 2.1.12, 2.4.0, 3.10.0, 5.0.0
Severity
high
Exploitation
not on CISA KEV · EPSS 1% (57.0th percentile)
Published
2025-08-25
Source
osv.dev

References

CWE-918
NVD recordphpoffice/phpspreadsheet advisories

Am I affected?

Find out in one command. phpwarden checks your composer.lock against this advisory and 20,000+ others, ranked by real-world exploitation (CISA KEV + EPSS). Free, offline, open data.

# PHP projects (recommended)
composer require --dev phpwarden/phpwarden
# then
vendor/bin/phpwarden deps composer.lock

# or, without Composer
pipx install phpwarden   &&   phpwarden deps composer.lock

Or keep it checked automatically: GitHub Action · pre-commit hook · GitLab CI · Laravel artisan command

Install docs   How findings are ranked

Related advisories