4.8Medium

CVE-2024-56411PhpSpreadsheet has Cross-Site Scripting (XSS) vulnerability of the hyperlink base in the HTML page header

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 a cross-site scripting (XSS) vulnerability of the hyperlink base in the HTML page header. The HTML page is formed without sanitizing the hyperlink base. 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.0.0 < 3.7.0