CVE-2024-34716
MediumPrestaShop cross-site scripting via customer contact form in FO, through file upload
Published May 15, 2024 · Updated Sep 10, 2026 · Also known as BIT-prestashop-2024-34716, GHSA-45vm-3j38-7p78, TR-24-0485
Key Facts
Patch immediately- CVE-2024-34716 is a medium-severity vulnerability (CVSS 6.1 v3.1) affecting PrestaShop, prestashop/prestashop (composer).
- It is not listed in any known-exploited vulnerabilities catalog. No public exploit code is known.
- EPSS estimates a 56% probability of exploitation in the next 30 days.
- Fixed versions are available, including PrestaShop 8.1.6, prestashop/prestashop 8.1.6.
- Brandefense priority: patch immediately, because it is very likely to be exploited soon.
CVSS v3.1
6.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
EPSS (30-day exploit likelihood)
56%
Higher than 99.0% of all scored CVEs
Exploited in the wild
No known
Not in a known-exploited catalog
Public exploit code
None known
Get the full CVE-2024-34716 brief as a PDF
Every affected product and fixed release, exploitation status and a first 24 hours response checklist, emailed within minutes.
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
3 affected entries in total| Product | Affected versions | Fixed in |
|---|---|---|
| PrestaShopPrestashop | >= >= 8.1.0, < 8.1.6 | 8.1.6 |
| prestashop/prestashopcomposer | >= 8.1.0 | 8.1.6 |
Patched Releases
PrestaShop
8.1.6
prestashop/prestashop
8.1.6
Timeline
Publicly disclosed
May 15, 2024
Last updated
Sep 10, 2026
Weakness Type
- CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
References
- advisoryGHSA advisory
- advisoryhttps://github.com/CVEProject/cvelistV5/tree/main/cves/2024/34xxx/CVE-2024-34716.json
- advisoryhttps://github.com/PrestaShop/PrestaShop/commit/a248898655e56cbcc6c308a5f1c8752231624bae
- advisoryhttps://github.com/PrestaShop/PrestaShop/releases/tag/8.1.6
- advisoryhttps://github.com/PrestaShop/PrestaShop/security/advisories/GHSA-45vm-3j38-7p78
FAQ
Common Questions.
PrestaShop is an open source e-commerce web application.
Affected: PrestaShop versions >= >= 8.1.0, < 8.1.6; prestashop/prestashop (composer) versions >= 8.1.0. The full list is in the CVE brief.
It is not listed in any known-exploited vulnerabilities catalog.
No, it is not currently listed in the CISA Known Exploited Vulnerabilities catalog.
No public exploit code is known.
Fixed versions are available, including PrestaShop 8.1.6, prestashop/prestashop 8.1.6.
Brandefense priority: patch immediately, because it is very likely to be exploited soon.
Is CVE-2024-34716 Running On Your Attack Surface?
Brandefense maps vulnerabilities like this one to your internet-facing assets and tells you exactly where to patch.
Request A Demo