Quick answers
- Is CVE-2025-1467 exploited in the wild?
- No. Junglewise Threat Intelligence has no report of CVE-2025-1467 being exploited in the wild.
- How severe is CVE-2025-1467?
- Low severity, with a CVSS score of 3.1, published 23 February 2025.
- Which products and versions are affected?
- tarteaucitronjs (npm) SEMVER:introduced=0,fixed=1.17.0.
- Is there a fix for CVE-2025-1467?
- Yes. tarteaucitronjs (npm): upgrade to 1.17.0 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
- How is CVE-2025-1467 attacked?
- It is attacked over the network, in a software library.
- Am I affected by CVE-2025-1467?
- Check whether you run tarteaucitronjs (npm) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
How to fix
- tarteaucitronjs (npm): upgrade to 1.17.0 or later
npm install tarteaucitronjs@1.17.0
Technical details
The vulnerability is a CWE-79 Cross-site Scripting flaw in the getElemWidth() and getElemHeight() methods of tarteaucitron versions before 1.17.0. These functions improperly handle user input or DOM attributes without adequate sanitization or encoding, allowing attackers to inject executable JavaScript code. The attack requires user interaction (visiting a malicious page) but has a network attack vector. An attacker can exploit this by crafting a page with malicious width or height attribute values that get processed by the vulnerable functions, resulting in arbitrary script execution in the context of the user's browser. The vulnerability was fixed in version 1.17.0 by using the safer getElemAttr utility method.
Affected products
- Amuri Cardon tarteaucitronjs before 1.17.0
Identifiers
- CVE-2025-1467
- GHSA-8wp9-x25p-8794
Timeline
- 2025-02-23: disclosed
- 2025-02-23: patched: Fix released in version 1.17.0