8.3High

CVE-2024-56408PhpSpreadsheet allows unauthorized reflected XSS in `Convert-Online.php` file

PHPOffice PhpSpreadsheet Published: (1 year ago)

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 have no sanitization in the `/vendor/phpoffice/phpspreadsheet/samples/Engineering/Convert-Online.php` file, which leads to the possibility of 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.

Weakness (CWE): CWE-79

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
PHPOffice PhpSpreadsheet >= 3.0.0, < 3.7.0, < 1.29.7, >= 2.0.0, < 2.1.6, >= 2.2.0, < 2.3.5

References and patches

CPE matches (NVD) (4)

  • cpe:2.3:a:phpoffice:phpspreadsheet:*:*:*:*:*:*:*:* < 1.29.7
  • cpe:2.3:a:phpoffice:phpspreadsheet:*:*:*:*:*:*:*:* ≥ 2.0.0 < 2.1.6
  • cpe:2.3:a:phpoffice:phpspreadsheet:*:*:*:*:*:*:*:* ≥ 2.2.0 < 2.3.5
  • cpe:2.3:a:phpoffice:phpspreadsheet:*:*:*:*:*:*:*:* ≥ 3.3.0 < 3.7.0