XML External Entity injection in PhpSpreadsheet - CVE-2024-48917

 

XML External Entity injection in PhpSpreadsheet - CVE-2024-48917

Published: November 16, 2024 / Updated: October 13, 2026


Vulnerability identifier: #VU154210
CSH Severity: Medium
CVSS v4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2024-48917
CWE-ID: CWE-611
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to disclose sensitive information.

The vulnerability exists due to improper restriction of XML external entity references in PhpSpreadsheet's XLSX reader when parsing XLSX files. A remote attacker can submit a specially crafted XLSX file to disclose sensitive information.


Affected software

PhpSpreadsheet

How to mitigate CVE-2024-48917

Install security update from vendor's website.

PhpSpreadsheet - addressed in versions 1.29.4, 2.1.3, 2.3.2, 3.4.0

External References

Related Security Bulletins