CVE-2025-1467
JavaScript vulnerability analysis and mitigation

Overview

Versions of the package tarteaucitronjs before 1.17.0 are vulnerable to Cross-site Scripting (XSS) via the getElemWidth() and getElemHeight() methods. The vulnerability was discovered on January 22, 2024, and was disclosed on February 9, 2025, receiving the identifier CVE-2025-1467. This vulnerability affects the tarteaucitronjs package, which provides compliance to the European cookie law (Snyk Advisory).

Technical details

The vulnerability exists in the getElemWidth() and getElemHeight() methods of tarteaucitronjs, which directly use getAttribute() without proper sanitization. This is a follow-up to a previous vulnerability fixed in version 1.16.0. The fix implemented in version 1.17.0 involves modifying these methods to use the getElemAttr utility method to prevent XSS attacks (GitHub Issue, GitHub Commit).

Impact

The vulnerability allows for Cross-site Scripting (XSS) attacks, which could enable attackers to steal cookies, hijack user sessions, expose sensitive information, enable access to privileged services and functionality, and deliver malware. The attack requires active user interaction and has limited impact on integrity and confidentiality (Snyk Advisory).

Mitigation and workarounds

Users should upgrade tarteaucitronjs to version 1.17.0 or higher, which contains the security fix. The fix involves using the getElemAttr utility method instead of direct attribute access for width and height values (Snyk Advisory).

Additional resources


SourceThis report was generated using AI

Related JavaScript vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-67731HIGH8.7
  • JavaScriptJavaScript
  • servify-express
NoYesDec 12, 2025
CVE-2025-67718HIGH8.7
  • JavaScriptJavaScript
  • formio
NoYesDec 11, 2025
CVE-2025-65513HIGH7.5
  • JavaScriptJavaScript
  • mcp-fetch-server
NoNoDec 09, 2025
CVE-2025-67716MEDIUM5.7
  • JavaScriptJavaScript
  • @auth0/nextjs-auth0
NoYesDec 11, 2025
CVE-2025-67490MEDIUM5.4
  • JavaScriptJavaScript
  • @auth0/nextjs-auth0
NoYesDec 10, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management