Patchfirst
CVE-2024-34716 Public exploit Critical · 9.7 EPSS 59.0%

PrestaShop vulnerable to XSS via customer contact form in FO, through file upload

Fix:upgrade prestashop to 8.1.6 or later Details ↓

PrestaShop · PrestaShop

Official description · CVE.org

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.

Breakdown
31.6 / 100
Exploited
Not confirmed
Reports
0
Tactics
0/15

Public exploit code (PoC-in-GitHub) was available the same day.

  1. DisclosedPublic exploit codePoC-in-GitHubday 0

7 fixes in prestashop/prestashop over 2 years. The latest fix listed for prestashop/prestashop is 9.0.3.

Fixes in prestashop/prestashopPackagist package, by fixed version. Earlier and later fixes in the same package, not necessarily the same bug.

  1. 8.1.3CVE-2024-216272 Jan 2024
  2. 8.1.3CVE-2024-216282 Jan 2024
  3. 8.1.4CVE-2024-2612919 Feb 2024
  4. 8.1.6CVE-2024-3471614 May 2024
  5. 8.1.6CVE-2024-3471714 May 2024
  6. 8.2.3CVE-2025-515868 Sep 2025
  7. 9.0.3CVE-2026-255976 Feb 2026Latest listed

Affected versions and fixes

as published in the CVE record

PrestaShop PrestaShop

Affected: >= 8.1.0, < 8.1.6

Am I affected? What do I upgrade to?

From GitHub Security Advisories and OSV

1 package in 1 ecosystem. Main package: prestashop/prestashop.

Packagistprestashop/prestashopGHSA-45vm-3j38-7p78

Upgrade to 8.1.6 or later

Set the version to 8.1.6 or later in your composer.json.

The first fix for CVE-2024-34716.

Affected versions

If you runUpgrade to
8.1.0 up to 8.1.68.1.6

“Up to” means the second version is the fix and is not affected.

Check your lockfile against all CVEs

References

2 links, grouped by NVD tag
↑ ↓ chooseEnter openEsc close