tarteaucitronjs, DOM Clobbering, CVE-2025-XXXX (Moderate)

Listen to this Post

How the CVE Works

The vulnerability in tarteaucitron.js occurs due to improper handling of document.currentScript. Attackers can inject a malicious HTML element (e.g., <a id="currentScript">) to clobber this property. Since named DOM elements become properties of the `document` object, the script incorrectly resolves to the attacker-controlled element instead of the intended `

Scroll to Top