CVE-2024-21627
Last modified
CVE-2024-21627 is a medium-severity vulnerability rated 6.1/10 on the CVSS scale. 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. EPSS estimates a 0.52% chance of exploitation in the next 30 days.
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`.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Prestashop | Prestashop | < 1.7.8.11 |
| Prestashop | Prestashop | >= 8.0.0, < 8.1.3 |
References
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2024-21627?
How severe is CVE-2024-21627?
How do I fix CVE-2024-21627?
Are you affected by CVE-2024-21627?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
