GHSA-7524-3396-fqv3 · Severity: medium · Ecosystem: npm — tarteaucitron.js allows UI manipulation via unrestricted CSS injection
tarteaucitron.js is a compliant and accessible cookie banner. A vulnerability was identified in tarteaucitron.js prior to 1.20.1, where user-controlled inputs for element dimensions (width and height) were not properly validated. This allowed an attacker with direct access to the site's source code or a CMS plugin to set values like 100%;height:100%;position:fixed;, potentially covering the entire viewport and facilitating clickjacking attacks. An attacker with high privileges could exploit this vulnerability to overlay malicious UI elements on top of legitimate content, trick users into interacting with hidden elements (clickjacking), or disrupt the intended functionality and accessibility of the website. This vulnerability is fixed in 1.20.1.
Conclusion & alert: CVE-2025-31138 is rated Low Risk (34.5/100): CVSS Medium severity, with low exploitation likelihood (EPSS 0.15%). Mandatory action: Monitor for updates and reassess as exploit intelligence or EPSS changes.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-05-19 | 0.13% | 0.15% | +0.02% |
| 2 | 2026-05-16 | 0.23% | 0.13% | -0.10% |
| 3 | 2026-02-01 | — | 0.23% | — |
Full EPSS history (7 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 5.5 | 3.1 | MEDIUM |
|
2.3 | 2.7 | [email protected] |
| 6.6 | 3.1 | MEDIUM |
|
2.3 | 3.7 | [email protected] |
GHSA-7524-3396-fqv3 · Severity: medium · Ecosystem: npm — tarteaucitron.js allows UI manipulation via unrestricted CSS injection
| Vendor | Product | Version | Raw CPE |
|---|---|---|---|
| amauri | tarteaucitronjs | < 1.20.1 | cpe:2.3:a:amauri:tarteaucitronjs:*:*:*:*:*:node.js:*:* |