{"id":"CVE-2024-56365","published":"2025-01-03T16:56:35Z","modified":"2025-01-03T18:16:40Z","title":"PhpSpreadsheet vulnerable to unauthorized reflected XSS in the constructor of the Downloader class","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 are vulnerable to unauthorized reflected cross-site scripting in the constructor of the `Downloader` class. Using the `/vendor/phpoffice/phpspreadsheet/samples/download.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.","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.00332,"percentile":0.27095,"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-jmpx-686v-c3wx","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/PHPOffice/PhpSpreadsheet/commit/700a80346be269af668914172bc6f4521982d0b4#diff-fbb0f53a5c68eeeffaa9ab35552c0b01740396f1a4045af5d2935ec2a62a7816","tags":["x_refsource_MISC"]}],"priority":{"score":11.2,"factors":[{"name":"EPSS percentile","points":5.42},{"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:16:35.970454Z","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-jmpx-686v-c3wx"],"provenance":"source"},{"ecosystem":"Packagist","package":"phpoffice/phpexcel","vulnerableRanges":["<=1.8.2"],"patched":[],"from":["GHSA-jmpx-686v-c3wx"],"provenance":"source"}],"euvd":{"id":"EUVD-2025-0033","exploited":false,"provenance":"source"}}