Skip to content
OpenAdvisories
Critical · 9.7 Public exploit CVE-2024-34716 EUVD-2024-1402GHSA-45vm-3j38-7p78

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

Published May 14, 2024 · Updated Aug 2, 2024 · 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.

Affected products

VendorProductAffectedFixed
PrestaShop PrestaShop >= 8.1.0, < 8.1.6 —

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 3 repositories

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Affected packages

EcosystemPackageAffectedFixedRecord
Packagist prestashop/prestashop >= 8.1.0, < 8.1.6 8.1.6 GHSA-45vm-3j38-7p78

References