Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2025-31476

4.8 · MEDIUM
Published Apr 7, 2025 amauri CWE-79 EPSS 0.35% (28th pctl)

Overview

CVE-2025-31476 is a medium-severity vulnerability affecting amauri tarteaucitronjs. It was published on April 7, 2025 and has a CVSS 3.1 base score of 4.8 (MEDIUM).

This vulnerability has a CVSS 3.1 base score of 4.8, rated MEDIUM. It can be exploited remotely over the network. Some level of privileges is required for exploitation.

Technical Description

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.

Remediation

Check the references section for vendor advisories and patches from amauri. Update tarteaucitronjs to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected Products

Vendor Product Versions Status
amauri tarteaucitronjs >= 0, < 1.20.1 Affected
tacjs_project tacjs >= 8.x-1.0, < 8.x-6.7 Affected

Frequently Asked Questions

What is CVE-2025-31476?

CVE-2025-31476 is a medium-severity vulnerability affecting amauri tarteaucitronjs. It was published on April 7, 2025 and has a CVSS 3.1 base score of 4.8 (MEDIUM).

How severe is CVE-2025-31476?

This vulnerability has a CVSS 3.1 base score of 4.8, rated MEDIUM. It can be exploited remotely over the network. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2025-31476?

Check the references section for vendor advisories and patches from amauri. Update tarteaucitronjs to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2025-31476?

CyberStrike's AI-powered security agents can automatically detect CVE-2025-31476 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.