CVE-2024-47873

HIGH EPSS 50.7%
Published Nov 18, 20241y ago · Modified Jun 17, 20262w ago
7.5 CVSS 3.1
High
Find Similar
Published Nov 18, 2024 1y ago
Last Modified Jun 17, 2026 2w ago

Description

PhpSpreadsheet is a PHP library for reading and writing spreadsheet files. The XmlScanner class has a scan method which should prevent XXE attacks. However, prior to versions 1.9.4, 2.1.3, 2.3.2, and 3.4.0, the regexes used in the `scan` method and the findCharSet method can be bypassed by using UCS-4 and encoding guessing. An attacker can bypass the sanitizer and achieve an XML external entity attack. Versions 1.9.4, 2.1.3, 2.3.2, and 3.4.0 fix the issue.

CVSS Details

Base Score
7.5
Exploitability
3.9
Impact
3.6
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Attack Vector Network
Attack Complexity Low
Privileges Required None
User Interaction None
Scope Unchanged
Confidentiality High
Integrity None
Availability None

Threat Intelligence

EPSS Exploit Probability
50.7% percentile
Exploit & Patch Status
Public Exploit Known
No Patch Available

Weaknesses 1

CWE-611

Affected Products 4

VendorProductVersionRange
phpofficephpspreadsheet* <1.29.4
phpofficephpspreadsheet*≥2.0.0  –  <2.1.3
phpofficephpspreadsheet*≥2.2.0  –  <2.3.2
phpofficephpspreadsheet*≥3.3.0  –  <3.4.0

References 4

  • github.com https://github.com/PHPOffice/PhpSpreadsheet/blob/39fc51309181e82593b06e2fa8e45ef8333a0335/src/PhpSpreadsheet/Reader/Security/XmlScanner.php
    Product
  • github.com https://github.com/PHPOffice/PhpSpreadsheet/security/advisories/GHSA-jw4x-v69f-hh5w
    ExploitVendor Advisory
  • owasp.org https://owasp.org/www-community/vulnerabilities/XML_External_Entity_(XXE)_Processing
    Not Applicable
  • w3.org https://www.w3.org/TR/xml/#sec-guessing-no-ext-info
    Technical Description

Remediation

No remediation data recorded yet

Check vendor advisories and the NVD entry for patch availability.