Loading...
Skip to main content

CVE-2024-34716 — Vulnerability in prestashop/prestashop — CVE Details

CRITICAL

PrestaShop cross-site scripting via customer contact form in FO, through file upload

Published May 14, 2024Updated September 10, 2026Source: osv

Summary

### Impact Only PrestaShops with customer-thread feature flag enabled are impacted, starting from PrestaShop 8.1.0. The impact is substantial, 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. Consequence: 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. ### Patches This vulnerability is patched in 8.1.6. ### Workarounds As long as you have not upgraded to 8.1.6, a simple workaround is to disable the customer-thread feature-flag. Thank you to Ayoub AIT ELMOKHTAR, who discovered this vulnerability and share it with the PrestaShop team.

Advisory Timeline

  • First published May 14, 2024 (881 days ago).
  • Last revised September 10, 2026 — 848 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

Composer
Update prestashop/prestashop to 8.1.6 or later
composer require "prestashop/prestashop:^8.1.6"

After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.

Affected Packages (1)

Affects 1 ecosystem: packagist (1).

PackageEcosystemAffectedFixed In
prestashop/prestashop
packagist
8.1.0, 8.1.1, 8.1.2, 8.1.3 (+2 more)8.1.6

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

  • CWE-79
    Cross-site Scripting (XSS)MITRE

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 9.6 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H

Frequently Asked Questions

What is CVE-2024-34716?
PrestaShop cross-site scripting via customer contact form in FO, through file upload This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.6/10).
How do I check if my project is affected by CVE-2024-34716?
CVE-2024-34716 affects prestashop/prestashop. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2024-34716 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
9.6

Exploitation is straightforward and causes maximum impact. Patch immediately.

Also Known As

GHSA-45vm-3j38-7p78

Related CVEs

Check if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies