tarteaucitron.js vulnerable to DOM Clobbering via document.currentScript
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| AmauriC | tarteaucitron.js | affected |
|
No data.
No data available yet.
| Source | ID | Title |
|---|---|---|
EUVD |
EUVD-2025-19885 | tarteaucitron.js vulnerable to DOM Clobbering via document.currentScript |
Github GHSA |
GHSA-q43x-79jr-cq98 | tarteaucitron.js vulnerable to DOM Clobbering via document.currentScript |
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.202% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Amauri
Amauri tarteaucitronjs |
|
| CPEs | cpe:2.3:a:amauri:tarteaucitronjs:*:*:*:*:*:node.js:*:* | |
| Vendors & Products |
Amauri
Amauri tarteaucitronjs |
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| 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. | |
| Title | tarteaucitron.js vulnerable to DOM Clobbering via document.currentScript | |
| Weaknesses | CWE-138 | |
| References |
| |
| Metrics |
cvssV3_1
|