Description
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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| PrestaShop | PrestaShop | >= 8.1.0, < 8.1.6 | — |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
GitHub 3 repositories
-
aelmokhtar/CVE-2024-34716 ★ 16 · May 14, 2024
-
0xDTC/Prestashop-CVE-2024-34716 ★ 1 · Oct 28, 2024
-
Pallangyo98/Trickster-HTB ★ 0 · Feb 19, 2025
This report details exploiting Trickster via an XSS in PrestaShop (CVE-2024-34716) to gain www-data access, extracting database credentials for SSH as james. A root shell in Docker is obtained via Ch…
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Packagist | prestashop/prestashop | >= 8.1.0, < 8.1.6 | 8.1.6 | GHSA-45vm-3j38-7p78 |