> CVE-2025-31475 [MEDIUM]

« BACK_TO_HOME
PUBLISHED
2025-04-07 15:15
MODIFIED
2025-04-08 18:14
CVSS_SCORE V3
5.5
EPSS (Prob. Exploit)
0.35%
Top 72.4%
DATA SOURCES:
NVD đź”— 2025-10-18 CVE PROJECT đź”— 2026-01-19 FIRST EPSS đź”— 2026-10-25 GITHUB đź”— 2026-11-04 OSV đź”— 2026-03-01

> DESCRIPTION

tarteaucitron.js is a compliant and accessible cookie banner. A vulnerability was identified in tarteaucitron.js prior to 1.20.1, where the addOrUpdate function, used for applying custom texts, did not properly validate input. This allowed an attacker with direct access to the site's source code or a CMS plugin to manipulate JavaScript object prototypes, leading to potential security risks such as data corruption or unintended code execution. An attacker with high privileges could exploit this vulnerability to modify object prototypes, affecting core JavaScript behavior, cause application crashes or unexpected behavior, or potentially introduce further security vulnerabilities depending on the application's architecture. This vulnerability is fixed in 1.20.1.

> AFFECTED_PRODUCTS

ℹ️ Aucun produit affecté n'a encore été publié par NVD pour cette CVE.

> CVSS V3 METRICS

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

> MÉTRIQUES CVSS DÉTAILLÉES

CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:L/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
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
Low (L)
Divulgation limitée d'informations
I (Impact Intégrité)
Integrity Impact
Low (L)
Modification limitée des données possible
A (Impact Disponibilité)
Availability Impact
None (N)
Aucune interruption de service

> RÉSUMÉ DES IMPACTS

Confidentialité
Low
Divulgation limitée d'informations
Intégrité
Low
Modification limitée des données possible
Disponibilité
None
Aucune interruption de service

> GITHUB SECURITY ADVISORY

GHSA-4hwx-xcc5-2hfc MODERATE

tarteaucitron.js allows prototype pollution via custom text injection

AFFECTED PACKAGES:
NPM / tarteaucitronjs
< 1.20.1
Fixed in: 1.20.1

> OSV (GOOGLE OPEN SOURCE VULNERABILITIES)

tarteaucitron.js allows prototype pollution via custom text injection

AFFECTED PACKAGES:
Unknown / Unknown
41 versions affected
ALIASES:
GHSA-4hwx-xcc5-2hfc

> HISTORIQUE DES MODIFICATIONS

Première apparition
07/04/2025 15:15
Source: NVD
📊 ENRICHISSEMENT 18/10/2025 15:02
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