CVE-2025-31475
MEDIUMDescription
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 is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.
CVSS v3 Vector
Exploitability
Impact
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:L/A:N
Exploit Intelligence
Low risk: more likely to be exploited than 22% of all known CVEs.
References
Related Vulnerabilities
Other CWE-1321 vulnerabilities, ordered by exploit likelihood. View all
| CVE | Severity | CVSS | EPSS | Exploited | Fix |
|---|---|---|---|---|---|
| CVE-2019-0230 | Critical | 9.8 | 97% | - | - |
| CVE-2019-11358 | Medium | 6.1 | 87% | - | Fix |
| CVE-2020-7774 | High | 7.3 | 69% | - | Fix |
| CVE-2022-24760 | Critical | 10.0 | 49% | - | Fix |
| CVE-2022-39396 | Critical | 9.8 | 39% | - | Fix |
| CVE-2022-2564 | Critical | 9.8 | 33% | - | Fix |
Embed a live status badge for CVE-2025-31475
Markdown
[](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 freeThis 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.