Vulnerabilities · 2024 · Prestashop
CVE-2024-34716
Prestashop vulnerability
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.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
Affected products
Prestashop. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Prestashop runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/PrestaShop/PrestaShop/security/advisories/GHSA-45vm-3j38-7p78 · Vendor Advisory
- github.com/PrestaShop/PrestaShop/releases/tag/8.1.6
- nvd.nist.gov/vuln/detail/CVE-2024-34716
- github.com/PrestaShop/PrestaShop/commit/a248898655e56cbcc6c308a5f1c8752231624bae
- github.com/advisories/GHSA-45vm-3j38-7p78
- nvd.nist.gov/vuln/detail/CVE-2024-34716
- cve.org/CVERecord?id=CVE-2024-34716
More vulnerabilities in Prestashop products
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.