CVE-2024-56366CWE-79

PhpSpreadsheet vulnerable to unauthorized reflected XSS in the Accounting.php file

High · published January 3, 2025

CVSS v4.0
8.3
EPSS
0%
Percentile
26.1
In the wild
Unconfirmed
What it is

PhpSpreadsheet is a PHP library for reading and writing spreadsheet files. Versions prior to 3.7.0, 2.3.5, 2.1.6, and 1.29.7 are vulnerable to unauthorized reflected cross-site scripting in the `Accounting.php` file. Using the `/vendor/phpoffice/phpspreadsheet/samples/Wizards/NumberFormat/Accounting.php` script, an attacker can perform a cross-site scripting attack. Versions 3.7.0, 2.3.5, 2.1.6, and 1.29.7 contain a patch for the issue.

The record
Technical detail
CVSS v4.0
8.3 · HIGH
Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:H/VA:N/SC:L/SI:H/SA:L
EPSS
0.00340 · 26.1th percentile
Weakness
CWE-79 · Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Published
2025-01-03T17:01Z
EPSS history
Timeline
  • 03 JAN 17:01Z
    PhpSpreadsheet vulnerable to unauthorized reflected XSS in the Accounting.php file
    cvelistv5