CVE-2024-53384: tsup - Stored XSS
- Cve: CVE-2024-53384
- Name: tsup - Stored XSS
- 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
- Impact: Attackers can execute arbitrary code in the context of the affected webpage or application.
- Remediation: Update to the latest version of tsup where the vulnerability is fixed.
- Vulnerability type: stored_xss
- Vulnerability impact: client_script_exec
- Requirement type: user_interaction
- Requirements: Attacker needs to craft a malicious script
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 5.1
- Cvss vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
- Epss score: 0.00245
- Epss percentile: 0.15868
- Assignee: [email protected]
- Published at: 2025-03-03T18:15:29Z
- Age in days: 631
- Modified at: 2026-06-17T08:08:51Z
- Patch available: yes
- Public exploits total: 1
- References total: 1
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2024-53384
- Nvd status: analyzed
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://gist.github.com/jackfromeast/36f98bf7542d11835c883c1d175d9b92 | nvd | 2025-03-03 |
References
| Url | Source | Tags |
|---|---|---|
| https://gist.github.com/jackfromeast/36f98bf7542d11835c883c1d175d9b92 | nvd | Exploit, Patch, Third Party Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| egoist:tsup | = 8.3.4 | no | nvd | /v1/products/egoist/tsup |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| egoist/tsup | package | yes | /v1/repositories/egoist/tsup |
Index
- Repositories: 16
- Packages: 1
- Checked, none or zero: repositories high signal
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2025-03-03
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, remote, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts