{"id":"CVE-2024-56408","published":"2025-01-03T16:05:22Z","modified":"2025-05-20T18:30:55Z","title":"PhpSpreadsheet allows unauthorized reflected XSS in `Convert-Online.php` file","vendor":"PHPOffice","product":"PhpSpreadsheet","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.3,"severity":"HIGH","version":"4.0","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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00414,"percentile":0.36541,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://github.com/PHPOffice/PhpSpreadsheet/security/advisories/GHSA-x88g-h956-m5xg","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/PHPOffice/PhpSpreadsheet/commit/700a80346be269af668914172bc6f4521982d0b4","tags":["x_refsource_MISC"]},{"url":"https://github.com/PHPOffice/PhpSpreadsheet/commit/9b9a55c7154daa7cd4095f618933c240508ba3c1","tags":["x_refsource_MISC"]},{"url":"https://github.com/PHPOffice/PhpSpreadsheet/commit/a50ebfe118b3ae0ddaea1c48ac19dc38692f4abc","tags":["x_refsource_MISC"]},{"url":"https://github.com/PHPOffice/PhpSpreadsheet/commit/b8fac55aa5cb7a3d514c7308378bb37bb711b25e","tags":["x_refsource_MISC"]}],"priority":{"score":13.1,"factors":[{"name":"EPSS percentile","points":7.31},{"name":"CVSS severity","points":5.81}]},"vendorSlug":"phpoffice","affectedVersions":[{"vendor":"PHPOffice","product":"PhpSpreadsheet","versions":[">= 3.0.0, < 3.7.0","< 1.29.7",">= 2.0.0, < 2.1.6",">= 2.2.0, < 2.3.5"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2025-01-03T18:19:25.935912Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"phpoffice/phpspreadsheet","vulnerableRanges":[">=3.0.0, <3.7.0","<1.29.7",">=2.0.0, <2.1.6",">=2.2.0, <2.3.5"],"patched":["3.7.0","1.29.7","2.1.6","2.3.5"],"from":["GHSA-x88g-h956-m5xg"],"provenance":"source"},{"ecosystem":"Packagist","package":"phpoffice/phpexcel","vulnerableRanges":["<=1.8.2"],"patched":[],"from":["GHSA-x88g-h956-m5xg"],"provenance":"source"}],"summary":{"text":"PhpSpreadsheet, a PHP library for reading and writing spreadsheet files, has a cross-site scripting flaw in its Convert-Online.php sample file (under the Engineering samples), where input is not sanitized before being reflected in the page. An attacker can exploit this over the network without authentication, but only if a user interacts with the page, typically by following a crafted link, so that injected script runs in the victim's browser.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:41:36Z"},"euvd":{"id":"EUVD-2025-0053","exploited":false,"provenance":"source"}}