# CVE-2024-34716: PrestaShop vulnerable to XSS via customer contact form in FO, through file upload

- Severity: Critical 9.7 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 59.0%, higher than 99% of CVEs (2026-12-01)
- Published: 2024-05-14T15:45:45.345Z
- Modified: 2026-09-10T03:50:13.124Z
- Also known as: GHSA-45vm-3j38-7p78
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- PrestaShop PrestaShop: >= 8.1.0, < 8.1.6; from 8.1.0 before 8.1.6
- prestashop/prestashop (Packagist): from 8.1.0 before 8.1.6

## Every score

- GitHub_M: CVSS:3.1 9.7 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H`
- GitHub: CVSS:3.1 9.6 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H`
- NVD: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://github.com/PrestaShop/PrestaShop/security/advisories/GHSA-45vm-3j38-7p78> (vendor-advisory, web)
- <https://github.com/PrestaShop/PrestaShop/releases/tag/8.1.6> (release-notes, 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)

## Sources

- CVE List: [CVE-2024-34716](https://www.cve.org/CVERecord?id=CVE-2024-34716), CVE Terms of Use, modified 2024-08-02
- GitHub Advisory Database: [GHSA-45vm-3j38-7p78](https://github.com/advisories/GHSA-45vm-3j38-7p78), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2024-34716](https://nvd.nist.gov/vuln/detail/CVE-2024-34716), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-34716 · Whole record: https://cve.day/CVE-2024-34716.json · Rebuilt by cve.day 2026-11-25T22:58:40.308Z
