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 run | Upgrade to |
|---|---|
| 8.1.0 up to 8.1.6 | 8.1.6 |
“Up to” means the second version is the fix and is not affected.
Fix:upgrade prestashop to 8.1.6 or later Details ↓
PrestaShop · PrestaShop
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.
Public exploit code (PoC-in-GitHub) was available the same day.
7 fixes in prestashop/prestashop over 2 years. The latest fix listed for prestashop/prestashop is 9.0.3.
PrestaShop PrestaShop
Affected: >= 8.1.0, < 8.1.6
1 package in 1 ecosystem. Main package: prestashop/prestashop.
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.
| If you run | Upgrade to |
|---|---|
| 8.1.0 up to 8.1.6 | 8.1.6 |
“Up to” means the second version is the fix and is not affected.