CVE-2024-53384 Details
Description
A DOM Clobbering vulnerability in tsup v8.3.4 allows attackers to execute arbitrary code via a crafted script in the import.meta.url to document.currentScript in cjs_shims.js components
A DOM clobbering vulnerability has been identified in Tsup version 8.3.4. This issue allows attackers to execute arbitrary code by injecting a crafted script into the import.meta.url, which is then referenced by document.currentScript in the cjs_shims.js components. The vulnerability arises because Tsup's handling of import.meta.url can be manipulated to execute unauthorized scripts.
Users can update to Tsup version 8.3.5 or later, where this vulnerability has been patched. The patch involves checking that document.currentScript is a legitimate script element before using it.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Mar 4, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://gist.github.com/jackfromeast/36f98bf7542d11835c883c1d175d9b92 | [email protected] | ExploitPatchThird Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') | CISA-ADP |
Affected Products
| Product | Versions |
|---|---|
| egoist tsup | 8.3.4 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jul 7, 2025 | Initial Analysis | [email protected] |
| Mar 5, 2025 | CVE Modified | CISA-ADP |
| Mar 3, 2025 | New CVE Received | [email protected] |