CVE-2024-34716 PrestaShop vulnerable to XSS via customer contact form in FO, through file upload
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: total
- Technology
- PHP
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.
Upgrade path
2 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| prestashop/prestashop | = >= 8.1.0, < 8.1.6; >= 8.1.0, < 8.1.6 | 8.1.6 | Fixed |
| prestashop/prestashop(Packagist) | = 8.1.0; = 8.1.1; = 8.1.2; = 8.1.3 +3 more | 8.1.6 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| prestashop/prestashop(Packagist) | >= 8.1.0, < 8.1.6 | 8.1.6 |
| prestashop/prestashop(Packagist) | = 8.1.0 | No fix listed |
| prestashop/prestashop(Packagist) | = 8.1.1 | No fix listed |
| prestashop/prestashop(Packagist) | = 8.1.2 | No fix listed |
| prestashop/prestashop(Packagist) | = 8.1.3 | No fix listed |
| prestashop/prestashop(Packagist) | = 8.1.4 | No fix listed |
| prestashop/prestashop(Packagist) | = 8.1.5 | No fix listed |
| prestashop/prestashop | = >= 8.1.0, < 8.1.6 | No fix listed |
| prestashop/prestashop | >= 8.1.0, < 8.1.6 | 8.1.6 |
References
- https://github.com/PrestaShop/PrestaShop/security/advisories/GHSA-45vm-3j38-7p78 vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com patch
- github.com product
- https://github.com/PrestaShop/PrestaShop/releases/tag/8.1.6 release-notes
- github.com