CVE-20XX-?

CVE-2025-31476

4.8 MEDIUM 0.4% exploit odds Fix listed XSS Web app

What it is

tarteaucitron.js is a compliant and accessible cookie banner. A vulnerability was identified in tarteaucitron.js, allowing a user with high privileges (access to the site's source code or a CMS plugin) to enter a URL containing an insecure scheme such as javascript:alert(). Before the fix, URL validation was insufficient, which could allow arbitrary JavaScript execution if a user clicked on a malicious link. An attacker with high privileges could insert a link exploiting an insecure URL scheme, leading to execution of arbitrary JavaScript code, theft of sensitive data through phishing attacks, or modification of the user interface behavior. This vulnerability is fixed in 1.20.1.

At a glance

Exploitability
Can be exploited over the network with an admin-level account, but needs a user to act. Limited direct impact.
Exploit odds
0.4% chance of exploitation in the next 30 days (EPSS).
Fix
A patch, advisory or fixed version is referenced. Upgrade or apply it.

Timeline

  1. PublishedDisclosed publicly on CVE.org and NVD
  2. Last updatedMost recent change to the record

Details

Published
Last modified
Exploit probability
0.4% · EPSS, next 30 days
Weakness
CWE-79 · Cross-site scripting
Record status
Analyzed

Affected

Attack profile CVSS 3.1 · 4.8

Attack vector
Network
Complexity
Low
Privileges needed
High
User interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None
Raw vector

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

Meme: I wake up, CVE-2025-31476
Download Square Reddit

Fix and advisories

References

NVD record · CVE.org record