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-31138

5.5 · MEDIUM
Published Apr 7, 2025 amauri CWE-1021 EPSS 0.26% (18th pctl)

Overview

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

This vulnerability has a CVSS 3.1 base score of 5.5, 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 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.

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

Frequently Asked Questions

What is CVE-2025-31138?

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

How severe is CVE-2025-31138?

This vulnerability has a CVSS 3.1 base score of 5.5, 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-31138?

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-31138?

CyberStrike's AI-powered security agents can automatically detect CVE-2025-31138 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.