{ "data_version": "4.0", "data_type": "CVE", "data_format": "MITRE", "CVE_data_meta": { "ID": "CVE-2024-56411", "ASSIGNER": "security-advisories@github.com", "STATE": "PUBLIC" }, "description": { "description_data": [ { "lang": "eng", "value": "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." } ] }, "problemtype": { "problemtype_data": [ { "description": [ { "lang": "eng", "value": "CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')", "cweId": "CWE-79" } ] } ] }, "affects": { "vendor": { "vendor_data": [ { "vendor_name": "PHPOffice", "product": { "product_data": [ { "product_name": "PhpSpreadsheet", "version": { "version_data": [ { "version_affected": "=", "version_value": ">= 3.0.0, < 3.7.0" }, { "version_affected": "=", "version_value": "< 1.29.7" }, { "version_affected": "=", "version_value": ">= 2.0.0, < 2.1.6" }, { "version_affected": "=", "version_value": ">= 2.2.0, < 2.3.5" } ] } } ] } } ] } }, "references": { "reference_data": [ { "url": "https://github.com/PHPOffice/PhpSpreadsheet/security/advisories/GHSA-hwcp-2h35-p66w", "refsource": "MISC", "name": "https://github.com/PHPOffice/PhpSpreadsheet/security/advisories/GHSA-hwcp-2h35-p66w" }, { "url": "https://github.com/PHPOffice/PhpSpreadsheet/commit/45052f88e04c735d56457a8ffcdc40b2635a028e", "refsource": "MISC", "name": "https://github.com/PHPOffice/PhpSpreadsheet/commit/45052f88e04c735d56457a8ffcdc40b2635a028e" } ] }, "source": { "advisory": "GHSA-hwcp-2h35-p66w", "discovery": "UNKNOWN" } }