CVE-2024-21627
published high CVSS 3.1 · 8.1Some attribute not escaped in Validate::isCleanHTML method
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| PrestaShop | — | PrestaShop>= 8.0.0, < 8.1.3 · < 1.7.8.11 | Affected | Not stated | GitHub_M |
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`.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 8.1 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| PrestaShop | PrestaShop | >= 8.0.0, < 8.1.3 (affected)< 1.7.8.11 (affected) | GitHub_M · cna |
Weaknesses
2- CWE-79 CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
- CWE-20 CWE-20: Improper Input Validation
References
3Provider assertions
3GitHub_M · cna
Some attribute not escaped in Validate::isCleanHTML method
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 344359b5631f4671464ecbedcc1e868150d164d6fdfc2dd76fa2c6d42ca3160e
- Ingested
- 23 Sep 2026, 08:19:02 UTC
- Source record
- Official CVE record