Cyber Resilience

CVE-2025-48939

Amauri Tarteaucitronjs ≤ 1.22.0

Public PoC
Published
03 July 2025
Modified
17 June 2026
Patch / advisory
CVSS Score v3.1 4.2
Click a component to see what it means
Raw vectorCVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:C/C:N/I:L/A:L
EPSS Score 0.0018 7th percentile
Risk Priority 29 floored blend · peak EPSS

Summary

CVE-2025-48939 is a medium-severity Improper Neutralization of Special Elements (CWE-138) vulnerability in Amauri Tarteaucitronjs. Its CVSS base score is 4.2 (Medium).

Operationally, exploitation aligns with the MITRE ATT&CK technique Exploit Public-Facing Application (T1190); ranked at the 7th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.

The strongest mitigations our analysis identified map to SI-10 (Information Input Validation) and SA-8 (Security and Privacy Engineering Principles) — see the control section below for these in your framework.

EU & UK References

Vulnerability Data

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…

more

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.

CWE(s)

Related Threats

MITRE ATT&CK Enterprise Techniques

T1190 Exploit Public-Facing Application Initial Access
Adversaries may attempt to exploit a weakness in an Internet-facing host or system to initially access a network.
T1059 Command and Scripting Interpreter Execution
Adversaries may abuse command and script interpreters to execute commands, scripts, or binaries.
T1059.001 PowerShell Execution
Adversaries may abuse PowerShell commands and scripts for execution.
T1059.003 Windows Command Shell Execution
Adversaries may abuse the Windows command shell for execution.
T1059.004 Unix Shell Execution
Adversaries may abuse Unix shell commands and scripts for execution.
T1505 Server Software Component Persistence
Adversaries may abuse legitimate extensible development features of servers to establish persistent access to systems.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2025-31475Same product: Amauri Tarteaucitronjs
CVE-2026-22809Same product: Amauri Tarteaucitronjs
CVE-2025-31138Same product: Amauri Tarteaucitronjs
CVE-2026-20009Shared CWE-138
CVE-2023-42117Shared CWE-138
CVE-2024-38133Shared CWE-138
CVE-2026-32178Shared CWE-138
CVE-2025-31476Same product: Amauri Tarteaucitronjs
CVE-2024-35694Same vendor: Amauri
CVE-2023-28932Same vendor: Amauri

Affected Assets

amauri
tarteaucitronjs
≤ 1.22.0

Mitigating Controls

Control response

Prevent
Stop it (NIST 800-53)

Detect
Catch it (NIST detect / respond)

Harden
Shrink the surface (DISA STIG)

Validate
Prove the fix (OWASP ASVS)
  • V1.3.12

Mitigating Controls (NIST 800-53 r5) AI

Input validation enforces neutralization or rejection of special syntactic elements before they reach a downstream interpreter.

Security engineering principles include requirements for safe input handling and neutralization of control characters.

Output filtering can neutralize special elements before they are interpreted by a receiving component.

Mitigating Controls (NIST CSF 2.0) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→CSF cross-walk (authority under review) — links open the control.

PR.PS-06 mostly match
prevents

Secure SDLC practices directly require proper neutralization of inputs to prevent injection flaws.

Mitigating Controls (ISO/IEC 27001:2022 Annex A) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→ISO cross-walk (authority under review) — links open the control.

finds

Security testing can detect instances of CWE-138 but does not itself implement the neutralization controls.

prevents

Secure development life cycle mandates input validation and sanitization that directly prevents improper neutralization of special elements.

prevents

Application security requirements explicitly call for controls against injection and malformed input that cause CWE-138.

prevents

Secure system architecture principles reduce attack surface but do not prescribe the specific neutralization techniques needed for CWE-138.

prevents

Secure coding standards require proper escaping and neutralization of special elements, directly eliminating CWE-138.

References