CVE-2024-53384 json
tsup DOM Clobbering vulnerability
published 2025-03-03 20 mo ago modified 2026-06-17 4 mo ago also GHSA-3mv9-4h5g-vhg3 , EUVD-2025-5525
- cvss
- 5.1
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.2%
- EPSS 0.2% chance of exploitation in 30 days, percentile 15%
- public exploits
- 0
- none known
Summary
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
Patch / fix
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- total
- Assessed
- 20 mo ago
Exploit prediction
0.24% chance of exploitation in the next 30 days, higher than 15% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- gist.github.com https://gist.github.com/jackfromeast/36f98bf7542d11835c883c1d175d9b92 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 5.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N |
| CNA | 3.1 | 5.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | tsup | <=8.3.4 |
no fix listed |
Classification
- Weakness
-
- CWE-79 Improper Neutralization of Input During Web Page Generation
References
-
gist.github.com
/jackfromeast/36f98bf7542d11835c883c1d175d9b92
web, exploit, patch, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2024-53384
advisory
-
github.com
/egoist/tsup
package
Sources
- CVE List CVE-2024-53384
- GitHub Advisory GHSA-3mv9-4h5g-vhg3
- NVD CVE-2024-53384
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.