{"id":"CVE-2024-34716","published":"2024-05-14T15:45:45Z","modified":"2024-08-02T02:59:22Z","title":"PrestaShop vulnerable to XSS via customer contact form in FO, through file upload","vendor":"PrestaShop","product":"PrestaShop","tier":"core","eol":null,"affectedVersions":[{"vendor":"PrestaShop","product":"PrestaShop","versions":[">= 8.1.0, < 8.1.6"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2024-06-11T20:41:38.434859Z","from":"CISA ADP","provenance":"source"},"description":{"text":"PrestaShop is an open source e-commerce web application. A cross-site scripting (XSS) vulnerability that only affects PrestaShops with customer-thread feature flag enabled is present starting from PrestaShop 8.1.0 and prior to PrestaShop 8.1.6. When the customer thread feature flag is enabled through the front-office contact form, a hacker can upload a malicious file containing an XSS that will be executed when an admin opens the attached file in back office. The script injected can access the session and the security token, which allows it to perform any authenticated action in the scope of the administrator's right. This vulnerability is patched in 8.1.6. A workaround is to disable the customer-thread feature-flag.","provenance":"source","from":"CVE.org"},"summary":null,"cvss":{"score":9.7,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.59034,"percentile":0.99134,"date":"2026-11-20","provenance":"source"},"kev":null,"vulncheckKev":null,"exploited":false,"otx":{"pulseCount":0,"pulses":[],"provenance":"machine"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://github.com/PrestaShop/PrestaShop/security/advisories/GHSA-45vm-3j38-7p78","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/PrestaShop/PrestaShop/releases/tag/8.1.6","tags":["x_refsource_MISC"]}],"techniques":[],"reports":[],"affected":[{"ecosystem":"Packagist","package":"prestashop/prestashop","vulnerableRanges":[">=8.1.0, <8.1.6"],"patched":["8.1.6"],"from":["GHSA-45vm-3j38-7p78"],"provenance":"source"}],"advisories":[{"id":"GHSA-45vm-3j38-7p78","url":"https://github.com/advisories/GHSA-45vm-3j38-7p78","severity":"CRITICAL","ecosystem":"Packagist","package":"prestashop/prestashop","vulnerableRanges":[">=8.1.0, <8.1.6"],"patched":["8.1.6"],"provenance":"source","from":"GHSA"}],"euvd":{"id":"EUVD-2024-1402","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2024-1402","exploited":false,"exploitedSince":null,"provenance":"source"},"exploits":[],"exploitSources":{"pocGithub":{"count":3,"skipped":0,"earliest":"2024-05-14","earliestUrl":"https://github.com/aelmokhtar/CVE-2024-34716","repos":[{"name":"aelmokhtar/CVE-2024-34716","url":"https://github.com/aelmokhtar/CVE-2024-34716","stars":16,"created":"2024-05-14"},{"name":"0xDTC/Prestashop-CVE-2024-34716","url":"https://github.com/0xDTC/Prestashop-CVE-2024-34716","stars":1,"created":"2024-10-28"},{"name":"Pallangyo98/Trickster-HTB","url":"https://github.com/Pallangyo98/Trickster-HTB","stars":0,"created":"2025-02-19"}]},"first":{"date":"2024-05-14","source":"PoC-in-GitHub","url":"https://github.com/aelmokhtar/CVE-2024-34716"},"provenance":"source"},"exploitRefs":[],"flow":[],"timeline":[{"date":"2024-05-14","kind":"published","label":"Published (CVE.org)","url":"https://www.cve.org/CVERecord?id=CVE-2024-34716","provenance":"source"},{"date":"2024-05-14","kind":"exploit-public","label":"First public exploit: PoC-in-GitHub","url":"https://github.com/aelmokhtar/CVE-2024-34716","provenance":"source"}],"speed":{"daysToPublicExploit":0,"firstExploitFrom":"PoC-in-GitHub","daysToKev":null},"priority":{"score":31.6,"factors":[{"name":"In a KEV catalog","points":0.0,"detail":"not listed"},{"name":"Recent KEV listing","points":0.0,"detail":"not listed"},{"name":"Known ransomware use","points":0.0,"detail":"not known"},{"name":"EPSS percentile","points":19.83,"detail":"percentile 0.9913"},{"name":"Named in threat reports","points":0.0,"detail":"0 reports"},{"name":"Public exploit code","points":5.0,"detail":"3 PoC-in-GitHub repos"},{"name":"Mentioned in OTX pulses","points":0.0,"detail":"0 pulses"},{"name":"CVSS severity","points":6.79,"detail":"base score 9.7"},{"name":"End-of-life product","points":0.0,"detail":"supported or unknown"}]},"lineage":{"packageHistory":[{"cve":"CVE-2024-21627","published":"2024-01-02","fixed":"8.1.3","kev":false},{"cve":"CVE-2024-21628","published":"2024-01-02","fixed":"8.1.3","kev":false},{"cve":"CVE-2024-26129","published":"2024-02-19","fixed":"8.1.4","kev":false,"link":{"from":"CVE-2024-26129","to":"CVE-2024-34716","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:prestashop/prestashop","fromFixed":"8.1.4","toFixed":"8.1.6","daysApart":85}]}},{"cve":"CVE-2024-34716","published":"2024-05-14","fixed":"8.1.6","kev":false},{"cve":"CVE-2024-34717","published":"2024-05-14","fixed":"8.1.6","kev":false},{"cve":"CVE-2025-51586","published":"2025-09-08","fixed":"8.2.3","kev":false,"link":{"from":"CVE-2024-34716","to":"CVE-2025-51586","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:prestashop/prestashop","fromFixed":"8.1.6","toFixed":"8.2.3","daysApart":482}]}},{"cve":"CVE-2026-25597","published":"2026-02-06","fixed":"9.0.3","kev":false}],"package":"Packagist:prestashop/prestashop"}}