PrestaShop vulnerable to XSS via customer contact form in FO, through file upload
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 packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
prestashop/prestashopPackagist | >= 8.1.0, < 8.1.6 | 8.1.6 |
Affected products
1- Range: >= 8.1.0, < 8.1.6
Patches
0No patches discovered yet.
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
5- github.com/advisories/GHSA-45vm-3j38-7p78ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2024-34716ghsaADVISORY
- github.com/PrestaShop/PrestaShop/commit/a248898655e56cbcc6c308a5f1c8752231624baeghsaWEB
- github.com/PrestaShop/PrestaShop/releases/tag/8.1.6ghsax_refsource_MISCWEB
- github.com/PrestaShop/PrestaShop/security/advisories/GHSA-45vm-3j38-7p78ghsax_refsource_CONFIRMWEB
News mentions
0No linked articles in our index yet.