PhpSpreadsheet through 5.12.0 SSRF via Redirect in Writer External Drawing Fetches
- CVE-2026-144591
- GHSA-cg33-p636-9jxv
- EUVD-2026-143856
Summary
PhpSpreadsheet through version 5.12.0 contains a server-side request forgery vulnerability in its writers, which re-fetch external drawing URLs using file_get_contents() and follow redirects. An attacker can supply a spreadsheet whose image host serves a valid image when the reader fetches it, then redirect the writer's later fetch to internal addresses. Response data from those internal endpoints can be leaked into the generated xlsx, ods, xls or html output files. The record carries a CVSS score of 6.8 and is not listed in the CISA known exploited vulnerabilities catalog.
AI summary · verify against the vendor advisory
Description
PhpSpreadsheet through 5.12.0 contains a server-side request forgery vulnerability that allows attackers to reach internal addresses because writers re-fetch external drawing URLs with file_get_contents() following redirects. Attackers can supply a spreadsheet whose image host serves a valid image to the reader and then redirects the writer's fetch to internal endpoints, leaking response data in generated xlsx, ods, xls or html files.
Text from the CVE.org record.
Recommendation
No source states a fixed version. Check the vendor advisory.
Affected
PHPOffice PhpSpreadsheet
Affected versions Fixed in up to 5.12.0 none stated
Product versions from the CVE.org record.
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.