{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2024-56365","published":"2025-01-03T17:15:08.407000Z","last_modified":"2026-06-17T08:12:07.100000Z","status":"Analyzed","cvss":{"version":"4.0","score":8.3,"severity":"HIGH","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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","source":"security-advisories@github.com","primary":false},"auth":false,"cwes":["CWE-79"],"cpes":[{"criteria":"cpe:2.3:a:phpoffice:phpspreadsheet:*:*:*:*:*:*:*:*","part":"a","vendor":"phpoffice","product":"phpspreadsheet","version_end_excluding":"1.29.7"},{"criteria":"cpe:2.3:a:phpoffice:phpspreadsheet:*:*:*:*:*:*:*:*","part":"a","vendor":"phpoffice","product":"phpspreadsheet","version_start_including":"2.0.0","version_end_excluding":"2.1.6"},{"criteria":"cpe:2.3:a:phpoffice:phpspreadsheet:*:*:*:*:*:*:*:*","part":"a","vendor":"phpoffice","product":"phpspreadsheet","version_start_including":"2.2.0","version_end_excluding":"2.3.5"},{"criteria":"cpe:2.3:a:phpoffice:phpspreadsheet:*:*:*:*:*:*:*:*","part":"a","vendor":"phpoffice","product":"phpspreadsheet","version_start_including":"3.3.0","version_end_excluding":"3.7.0"}],"cpes_truncated":false,"vendors":["phpoffice"],"products":["phpoffice/phpspreadsheet"],"ssvc":{"exploitation":"poc","automatable":"yes","technical_impact":"partial"},"epss":{"score":0.00483,"percentile":0.34345,"date":"2026-11-30","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-jmpx-686v-c3wx","ecosystem":"Packagist","name":"phpoffice/phpexcel","purl":"pkg:composer/phpoffice/phpexcel","ranges":[{"introduced":"0","last_affected":"1.8.2"}],"versions":["1.7.9","1.7.9-rc1","1.8.0","1.8.0rc1","1.8.0rc2","1.8.0rc3","1.8.0rc4","1.8.1","1.8.2"],"versions_truncated":false},{"advisory":"GHSA-jmpx-686v-c3wx","ecosystem":"Packagist","name":"phpoffice/phpspreadsheet","purl":"pkg:composer/phpoffice/phpspreadsheet","ranges":[{"introduced":"3.0.0","fixed":"3.7.0"}],"versions":["3.3.0","3.4.0","3.5.0","3.6.0"],"versions_truncated":false},{"advisory":"GHSA-jmpx-686v-c3wx","ecosystem":"Packagist","name":"phpoffice/phpspreadsheet","purl":"pkg:composer/phpoffice/phpspreadsheet","ranges":[{"introduced":"0","fixed":"1.29.7"}],"versions":["1.0.0","1.0.0-beta","1.0.0-beta2","1.1.0","1.10.0","1.10.1","1.11.0","1.12.0","1.13.0","1.14.0","1.14.1","1.15.0","1.16.0","1.17.0","1.17.1","1.18.0","1.19.0","1.2.0","1.2.1","1.20.0","1.21.0","1.22.0","1.23.0","1.24.0","1.24.1","1.25.0","1.25.1","1.25.2","1.26.0","1.27.0","1.27.1","1.28.0","1.29.0","1.29.1","1.29.2","1.29.4","1.29.5","1.29.6","1.3.0","1.3.1","1.4.0","1.4.1","1.5.0","1.5.1","1.5.2","1.6.0","1.7.0","1.8.0","1.8.1","1.8.2","1.9.0"],"versions_truncated":false},{"advisory":"GHSA-jmpx-686v-c3wx","ecosystem":"Packagist","name":"phpoffice/phpspreadsheet","purl":"pkg:composer/phpoffice/phpspreadsheet","ranges":[{"introduced":"2.0.0","fixed":"2.1.6"}],"versions":["2.0.0","2.1.0","2.1.1","2.1.3","2.1.4","2.1.5"],"versions_truncated":false},{"advisory":"GHSA-jmpx-686v-c3wx","ecosystem":"Packagist","name":"phpoffice/phpspreadsheet","purl":"pkg:composer/phpoffice/phpspreadsheet","ranges":[{"introduced":"2.2.0","fixed":"2.3.5"}],"versions":["2.2.0","2.2.1","2.2.2","2.3.0","2.3.2","2.3.3","2.3.4"],"versions_truncated":false}],"severity":"high","priority_score":65,"links":{"html_es":"/es/cve/CVE-2024-56365/","html_en":"/en/cve/CVE-2024-56365/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2024-56365","cve_org":"https://www.cve.org/CVERecord?id=CVE-2024-56365"},"untrusted":{"vendor_name":"Phpoffice","product_name":"Phpspreadsheet","desc_en":"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.","affected":[{"untrusted_vendor":"PHPOffice","untrusted_product":"PhpSpreadsheet","versions":[]}],"references":[{"url":"https://github.com/PHPOffice/PhpSpreadsheet/commit/700a80346be269af668914172bc6f4521982d0b4#diff-fbb0f53a5c68eeeffaa9ab35552c0b01740396f1a4045af5d2935ec2a62a7816","tags":["Patch"]},{"url":"https://github.com/PHPOffice/PhpSpreadsheet/security/advisories/GHSA-jmpx-686v-c3wx","tags":["Exploit","Vendor Advisory"]}]}}