---
title: "CVE-2024-34716: PrestaShop cross-site scripting via customer contact form in FO, through file upload"
url: https://erroneo.us/security/cve/CVE-2024-34716/
description: "CVE-2024-34716 (prestashop/prestashop (Composer (PHP))): PrestaShop is an open source e-commerce web application. A cross-site scripting (XSS) vulnerability…"
type: vulnerability-record
section: "Security Digest"
date_published: 2024-05-14
date_modified: 2024-08-02
publisher: erroneo.us
author: erroneo.us Security Desk
cve: "CVE-2024-34716"
kev: false
cvss: 9.7
epss: 0.56445
license: All rights reserved. Quote with attribution and a link.
---

# CVE-2024-34716: PrestaShop cross-site scripting via customer contact form in FO, through file upload

**Signal:** High exploit likelihood. EPSS ranks it in the top 5% of all CVEs for likely exploitation in the next 30 days. (Computed from CISA KEV, EPSS and CVSS; not an editorial verdict.)

## Should you act?

- No confirmed exploitation. It is not in CISA’s KEV catalog and CISA’s SSVC assessment records no known exploitation. That can change quickly after a public write-up; re-check if you are affected.
- EPSS 56.4% , percentile 99: FIRST’s model estimates a 56.4% chance of exploitation activity in the next 30 days, higher than 99% of all scored CVEs (very high). EPSS is a probability, not a verdict.
- Needs a user to click or open something. Phishing makes that realistic, but it is not wormable.
- Only applies if your dependency tree includes prestashop/prestashop (Composer (PHP)) >= 8.1.0, < 8.1.6, fixed in 8.1.6 . Check your lockfile, including transitive dependencies.

## What it is

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 packages

- Composer (PHP) `prestashop/prestashop` >= 8.1.0, < 8.1.6 → fixed: 8.1.6

## Affected products (CVE record)

- PrestaShop PrestaShop: >= 8.1.0, < 8.1.6

## Severity

- GitHub_M CVSS 3.1: 9.7 `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 `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H`

## Exploitation

- CISA KEV: not listed (no confirmed in-the-wild exploitation known to CISA).
- CISA SSVC assessment: exploitation none , automatable no , technical impact total .
- FIRST EPSS (model of 2026-10-21): 56.45% probability of exploitation activity in the next 30 days; percentile 99.

## Sources

- [GitHub Advisory GHSA-45vm-3j38-7p78](https://github.com/advisories/GHSA-45vm-3j38-7p78)
- [CVE.org record CVE-2024-34716](https://www.cve.org/CVERecord?id=CVE-2024-34716)
- [NVD entry CVE-2024-34716](https://nvd.nist.gov/vuln/detail/CVE-2024-34716)
- [github.com](https://github.com/PrestaShop/PrestaShop/security/advisories/GHSA-45vm-3j38-7p78)
- [github.com](https://github.com/PrestaShop/PrestaShop/releases/tag/8.1.6)
- [github.com](https://github.com/PrestaShop/PrestaShop/commit/a248898655e56cbcc6c308a5f1c8752231624bae)

---
Source page: https://erroneo.us/security/cve/CVE-2024-34716/ · Security Digest: https://erroneo.us/security/ · More: https://erroneo.us/llms.txt
