CVE & CISA-KEV Catalog

CVE-2025-31475

MEDIUM
5.5
CVSS v3
NVD

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.

How to fix

Remediation Available
tarteaucitronjsNVD
Affected:< 1.20.1Fixed in:1.20.1CVE-2025-31475derived from NVD

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredHigh
User InteractionNone
ScopeChanged

Impact

ConfidentialityLow
IntegrityLow
AvailabilityNone

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

Exploit Intelligence

0.30%probability of exploitation in 30 days
22ndpercentile

Low risk: more likely to be exploited than 22% of all known CVEs.

References

Vendor Advisory1

Related Vulnerabilities

Other CWE-1321 vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2019-0230Critical9.897%--
CVE-2019-11358Medium6.187%-Fix
CVE-2020-7774High7.369%-Fix
CVE-2022-24760Critical10.049%-Fix
CVE-2022-39396Critical9.839%-Fix
CVE-2022-2564Critical9.833%-Fix
Embed a live status badge for CVE-2025-31475
CVE-2025-31475 severity badge

Markdown

[![CVE-2025-31475](https://tridentstack.com/cve/badge/CVE-2025-31475.svg)](https://tridentstack.com/cve/CVE-2025-31475)

HTML

<a href="https://tridentstack.com/cve/CVE-2025-31475"><img src="https://tridentstack.com/cve/badge/CVE-2025-31475.svg" alt="CVE-2025-31475"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Start free

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2025-10-21.