> CVE-2023-30838 [HIGH]

« BACK_TO_HOME
PUBLISHED
2023-04-25 19:15
MODIFIED
2024-11-21 08:00
CVSS_SCORE V3
8.5
EPSS (Prob. Exploit)
1.05%
Top 35.6%
DATA SOURCES:
NVD 🔗 2025-10-18 CVE PROJECT 🔗 2026-01-19 FIRST EPSS 🔗 2026-11-08 GITHUB 🔗 2026-11-03 OSV 🔗 2026-11-15

> DESCRIPTION

PrestaShop is an Open Source e-commerce web application. Prior to versions 8.0.4 and 1.7.8.9, the `ValidateCore::isCleanHTML()` method of Prestashop misses hijackable events which can lead to cross-site scripting (XSS) injection, allowed by the presence of pre-setup `@keyframes` methods. This XSS, which hijacks HTML attributes, can be triggered without any interaction by the visitor/administrator, which makes it as dangerous as a trivial XSS attack. Contrary to other attacks which target HTML attributes and are triggered without user interaction (such as onload / onerror which suffer from a very limited scope), this one can hijack every HTML element, which increases the danger due to a complete HTML elements scope. Versions 8.0.4 and 1.7.8.9 contain a fix for this issue.

> AFFECTED_PRODUCTS

Prestashop - Prestashop
< 1.7.8.9
Prestashop - Prestashop
>= 8.0.0 < 8.0.4

> CVSS V3 METRICS

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

> MÉTRIQUES CVSS DÉTAILLÉES

CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H
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
High (H)
Conditions spécifiques doivent être réunies pour exploiter
PR (Privilèges Requis)
Privileges Required
Low (L)
Authentifié avec compte utilisateur basique
UI (Interaction Utilisateur)
User Interaction
None (N)
Aucune interaction utilisateur nécessaire
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
High (H)
Interruption totale du service possible

> RÉSUMÉ DES IMPACTS

Confidentialité
High
Divulgation totale d'informations
Intégrité
High
Modification totale des données possible
Disponibilité
High
Interruption totale du service possible

> GITHUB SECURITY ADVISORY

GHSA-fh7r-996q-gvcp HIGH

Possible XSS injection through Validate::isCleanHTML method

AFFECTED PACKAGES:
COMPOSER / prestashop/prestashop
< 1.7.8.9
Fixed in: 1.7.8.9
COMPOSER / prestashop/prestashop
>= 8.0.0, < 8.0.4
Fixed in: 8.0.4

> OSV (GOOGLE OPEN SOURCE VULNERABILITIES)

PrestaShop vulnerable to possible XSS injection through Validate::isCleanHTML method

AFFECTED PACKAGES:
Unknown / Unknown
10 versions affected
ALIASES:
GHSA-fh7r-996q-gvcp

> HISTORIQUE DES MODIFICATIONS

Première apparition
25/04/2023 19:15
Source: NVD
📊 ENRICHISSEMENT 18/10/2025 14:40
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