Server-Side Request Forgery (SSRF) in PhpSpreadsheet - CVE-2024-45291
Published: October 7, 2024 / Updated: October 13, 2026
Vulnerability identifier: #VU154214
CSH Severity: Low
CVSS v4: 6 [CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:N/VA:N/SC:L/SI:N/SA:N]
CVE-ID: CVE-2024-45291
CWE-ID: CWE-918
Exploitation vector: Remote access
Exploit availability:
No public exploit available
Vulnerability details
The vulnerability allows a remote user to disclose sensitive information.
The vulnerability exists due to server-side request forgery in the HTML writer when embedding images is enabled. A remote user can supply an image reference that triggers a server-side request to disclose sensitive information.
Affected software
PhpSpreadsheet
How to mitigate CVE-2024-45291
Install security update from vendor's website.
PhpSpreadsheet - addressed in versions 1.29.2, 2.1.1, 2.3.0