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

4.2 · MEDIUM
Published Jul 3, 2025 amauri CWE-138 EPSS 0.18% (7th pctl)

Overview

CVE-2025-48939 is a medium-severity vulnerability affecting amauri tarteaucitronjs. It was published on July 3, 2025 and has a CVSS 3.1 base score of 4.2 (MEDIUM).

This vulnerability has a CVSS 3.1 base score of 4.2, rated MEDIUM. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

Technical Description

tarteaucitron.js is a compliant and accessible cookie banner. Prior to version 1.22.0, a vulnerability was identified in tarteaucitron.js where document.currentScript was accessed without verifying that it referenced an actual <script> element. If an attacker injected an HTML element, it could clobber the document.currentScript property. This causes the script to resolve incorrectly to an element instead of the <script> tag, leading to unexpected behavior or failure to load the script path correctly. This issue arises because in some browser environments, named DOM elements become properties on the global document object. An attacker with control over the HTML could exploit this to change the CDN domain of tarteaucitron. This issue has been patched in version 1.22.0.

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.22.0 Affected

Frequently Asked Questions

What is CVE-2025-48939?

CVE-2025-48939 is a medium-severity vulnerability affecting amauri tarteaucitronjs. It was published on July 3, 2025 and has a CVSS 3.1 base score of 4.2 (MEDIUM).

How severe is CVE-2025-48939?

This vulnerability has a CVSS 3.1 base score of 4.2, rated MEDIUM. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

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

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

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