# CVE-2024-53384: tsup DOM Clobbering vulnerability

- Severity: Medium 5.1 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.24%, higher than 16% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-03-03T00:00:00.000Z
- Modified: 2026-06-17T08:08:51.267Z
- Also known as: GHSA-3mv9-4h5g-vhg3
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: mitre

## 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

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- tsup (npm): up to 8.3.4
- egoist tsup: 8.3.4

## Every score

- CISA-ADP: CVSS:3.1 5.1 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N`
- GitHub: CVSS:4.0 Low `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:P`

## References

- <https://gist.github.com/jackfromeast/36f98bf7542d11835c883c1d175d9b92> (exploit, patch, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-53384> (advisory)
- <https://github.com/egoist/tsup> (package)

## Sources

- CVE List: [CVE-2024-53384](https://www.cve.org/CVERecord?id=CVE-2024-53384), CVE Terms of Use, modified 2025-03-05
- GitHub Advisory Database: [GHSA-3mv9-4h5g-vhg3](https://github.com/advisories/GHSA-3mv9-4h5g-vhg3), CC-BY-4.0, modified 2025-03-03
- NVD: [CVE-2024-53384](https://nvd.nist.gov/vuln/detail/CVE-2024-53384), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-53384 · Whole record: https://cve.day/CVE-2024-53384.json · Rebuilt by cve.day 2026-11-25T22:58:52.176Z
