> CVE-2024-21627 [HIGH]

« BACK_TO_HOME
PUBLISHED
2024-01-02 21:15
MODIFIED
2024-11-21 08:54
CVSS_SCORE V3
8.1
EPSS (Prob. Exploit)
0.52%
Top 55.0%
DATA SOURCES:
NVD 🔗 2025-10-18 CVE PROJECT 🔗 2026-01-19 FIRST EPSS 🔗 2026-11-15 GITHUB 🔗 2026-11-10 OSV 🔗 2026-11-01

> 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`.

> AFFECTED_PRODUCTS

Prestashop - Prestashop
< 1.7.8.11
Prestashop - Prestashop
>= 8.0.0 < 8.1.3

> CVSS V3 METRICS

CVSS_VECTOR
CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:N

> MÉTRIQUES CVSS DÉTAILLÉES

CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:N
Métrique Valeur Interprétation
AV (Vecteur d'Attaque)
Attack Vector
Network (N)
Exploit possible à distance via réseau (HTTP, API, etc.)
AC (Complexité d'Attaque)
Attack Complexity
Low (L)
Peu de conditions requises pour exploiter
PR (Privilèges Requis)
Privileges Required
High (H)
Authentifié avec privilèges administratifs
UI (Interaction Utilisateur)
User Interaction
Required (R)
Nécessite une action utilisateur (clic lien, ouverture fichier, etc.)
S (Périmètre)
Scope
Changed (C)
Impact s'étend au-delà du composant compromis
C (Impact Confidentialité)
Confidentiality Impact
High (H)
Divulgation totale d'informations
I (Impact Intégrité)
Integrity Impact
High (H)
Modification totale des données possible
A (Impact Disponibilité)
Availability Impact
None (N)
Aucune interruption de service

> RÉSUMÉ DES IMPACTS

Confidentialité
High
Divulgation totale d'informations
Intégrité
High
Modification totale des données possible
Disponibilité
None
Aucune interruption de service

> GITHUB SECURITY ADVISORY

GHSA-xgpm-q3mq-46rq HIGH

PrestaShop some attribute not escaped in Validate::isCleanHTML method

AFFECTED PACKAGES:
COMPOSER / prestashop/prestashop
< 1.7.8.11
Fixed in: 1.7.8.11
COMPOSER / prestashop/prestashop
>= 8.0.0-beta.1, < 8.1.3
Fixed in: 8.1.3

> OSV (GOOGLE OPEN SOURCE VULNERABILITIES)

Some attribute not escaped in Validate::isCleanHTML method

AFFECTED PACKAGES:
Unknown / Unknown
8 versions affected
ALIASES:
GHSA-xgpm-q3mq-46rq

> HISTORIQUE DES MODIFICATIONS

Première apparition
02/01/2024 21:15
Source: NVD
📊 ENRICHISSEMENT 18/10/2025 14:47
CVEPROJECT
Champ modifié: CVE Project
Ancienne valeur:
Non
Nouvelle valeur:
Oui
Total des modifications: 1 Dernière mise à jour: 1 year ago
« BACK_TO_HOME