CVE-2026-144591 PUBLISHED

PhpSpreadsheet through 5.12.0 SSRF via Redirect in Writer External Drawing Fetches

Assigner: VulnCheck
Reserved: 04.12.2026 Published: 04.12.2026 Updated: 04.12.2026

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.

Metrics

CVSS Vector: CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:H/SI:N/SA:N
CVSS Score: 8.9

Product Status

Vendor PHPOffice
Product PhpSpreadsheet
Versions Default: unaffected
  • affected from 0 to 5.12.0 (incl.)

Credits

  • Zachariah Mithani (AploSec) finder

References

Problem Types

  • Server-Side Request Forgery (SSRF) CWE