CVE-2024-21627
Severity CVSS v4.0:
Pending analysis
Type:
CWE-79
Cross-Site Scripting (XSS)
Publication date:
02/01/2024
Last modified:
08/01/2024
Description
PrestaShop is an open-source e-commerce platform. Prior to versions 8.1.3 and 1.7.8.11, some event attributes are not detected by the `isCleanHTML` method. Some modules using the `isCleanHTML` method could be vulnerable to cross-site scripting. Versions 8.1.3 and 1.7.8.11 contain a patch for this issue. The best workaround is to use the `HTMLPurifier` library to sanitize html input coming from users. The library is already available as a dependency in the PrestaShop project. Beware though that in legacy object models, fields of `HTML` type will call `isCleanHTML`.
Impact
Base Score 3.x
6.10
Severity 3.x
MEDIUM
Vulnerable products and versions
CPE | From | Up to |
---|---|---|
cpe:2.3:a:prestashop:prestashop:*:*:*:*:*:*:*:* | 1.7.8.11 (excluding) | |
cpe:2.3:a:prestashop:prestashop:*:*:*:*:*:*:*:* | 8.0.0 (including) | 8.1.3 (excluding) |
To consult the complete list of CPE names with products and versions, see this page