CVE-2025-31475 describes a prototype pollution vulnerability in tarteaucitron.js versions prior to 1.20.1, a cookie banner solution. The flaw resides in the addOrUpdate function, which inadequately validates input when applying custom texts. This allows an attacker with high privileges, such as direct source code access or CMS plugin manipulation, to modify JavaScript object prototypes. The vulnerability carries a CVSS score of 6.6 (Medium), indicating that it can be exploited over the network with low attack complexity, requiring high privileges, and potentially leading to low impact on confidentiality, integrity, and availability. Exploitation could result in data corruption, unexpected application behavior, or unintended code execution. Currently, there is no evidence of active exploitation, nor are there publicly available exploit modules in Metasploit, Nuclei, or ExploitDB. Community discussion and media coverage for this CVE are minimal, suggesting low public awareness.
| Vendor | Product | Version(s) | CPE |
|---|---|---|---|
< 1.20.1CPE matchmatch criteria | cpe:2.3:a:amauri:tarteaucitronjs:*:*:*:*:*:node.js:*:* |
CVSS version used by this source: 3.1
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:L/A:N
The average CVE in this peer group has 0.0 Twitter, 0.0 Reddit, 0.1 Bluesky, 0.0 Mastodon, and 0.1 GitHub mentions.
No media coverage found for this CVE.
The average CVE in this peer group has 0.1 InfoSec Media, 0.0 Vendor Blog, and 0.0 Security Researcher mentions.