CVE Database
/

CVE-2024-56366

Back to search

CVE-2024-56366

Published: Jan 3, 2025

Modified: Jan 3, 2025

PUBLISHED

Description

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.

VendorProductVersions

PHPOffice

PhpSpreadsheet

affected
>= 3.0.0, < 3.7.0
affected
< 1.29.7
affected
>= 2.0.0, < 2.1.6
affected
>= 2.2.0, < 2.3.5

Weaknesses (CWE)

Security Training

Train your team to recognize and prevent security threats with our comprehensive security awareness program.

Start Training

Vulnerability Scanning

Discover vulnerabilities in your applications and infrastructure before attackers do.

Scan Now