GitHub Advisory Database
GHSA-3mv9-4h5g-vhg3
tsup DOM Clobbering vulnerability
Details
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
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| npm | tsup | All versions up to and including 8.3.4 |