CVE-2024-34716
MEDIUM 6.1CVSS 3.1PrestaShop cross-site scripting via customer contact form in FO, through file upload
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.
- Published
- 14 May 2024
- Last modified
- 10 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-79
- Also known as
- GHSA-45vm-3j38-7p78
- Sources
- NVDJSONOSV GHSA-45vm-3j38-7p78JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | CRITICAL 9.6 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.6 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | prestashop | prestashopcpe:2.3:a:prestashop:prestashop:*:*:*:*:*:*:*:* |
>= 8.1.0, < 8.1.6 | 8.1.6 |
| OSV | Packagist | prestashop/prestashop | >= 8.1.0, < 8.1.6 | 8.1.6 |
References
- https://github.com/PrestaShop/PrestaShop/releases/tag/8.1.6 · Release Notes, WEB
- https://github.com/PrestaShop/PrestaShop/security/advisories/GHSA-45vm-3j38-7p78 · Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-34716 · ADVISORY
- https://github.com/PrestaShop/PrestaShop/commit/a248898655e56cbcc6c308a5f1c8752231624bae · WEB
- https://github.com/PrestaShop/PrestaShop · PACKAGE
History
- 25 Nov 2026 20:55 UTC · NVD: first stored (published 14 May 2024)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 14 May 2024)