Improper Restriction of XML External Entity Reference
CVE-2024-45048
Summary
PHPSpreadsheet is a pure PHP library for reading and writing spreadsheet files. In package phpoffice/phpspreadsheet versions prior to 1.29.1, and 2.x prior to 2.2.1 are subject to a bypassing of a filter which allows for an XML external entity (XXE) attack. This in turn allows attackers to obtain the contents of local files, even if error reporting is muted. All users are advised to upgrade. There are no known workarounds for this vulnerability.
- LOW
- NETWORK
- NONE
- UNCHANGED
- REQUIRED
- NONE
- HIGH
- NONE
CWE-611 - Improper Restriction of XML External Entity Reference
Listed 4th in the 'OWASP Top Ten', XML External Entities (XXE) vulnerability allows attackers to provide an XML input that contains an external entity. When the XML is parsed, it can cause data extraction and manipulation, execution of commands, denial-of-service attacks, and server-side request forgery.
References
Advisory Timeline
- Published