Open-source package vulnerability · npm
CVE-2024-53384: tsup DOM Clobbering vulnerability
lowCVSS 4.0 2.1GHSA-3mv9-4h5g-vhg3
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 cjsshims.js components
Published Mar 3, 2025
Affected packages
tsup
- Ecosystem
- npm
- Affected
- <= 8.3.4
- Fixed in
- No patched version yet
- Check
npm ls tsup
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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
References
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
