Medium
Security advisory
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
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2024-53384
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 4 Nov 2026, 16:03 UTC · Revision 1
Source evidence
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
osv:CVE-2024-53384
Complete source record
{
"id": "b2d44cc66ba9baa5d41b8a62e006263f92c7f6d55137563cd9b5a8ab89d4434c",
"url": "https://osv.dev/vulnerability/CVE-2024-53384",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2024-53384",
"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",
"evidence": "osv:CVE-2024-53384",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2024-53384",
"aliases": [
"CVE-2024-53384",
"GHSA-3mv9-4h5g-vhg3"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/egoist/tsup",
"type": "GIT",
"events": [
{
"introduced": "21b119374880e9d9109c5d8658429678a1de8f45"
},
{
"last_affected": "21b119374880e9d9109c5d8658429678a1de8f45"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:egoist:tsup:8.3.4:*:*:*:*:node.js:*:*",
"range": [
{
"introduced": "8.3.4"
},
{
"last_affected": "8.3.4"
}
],
"source": "CPE_STRING"
}
]
}
}
],
"versions": [
"8.3.4",
"v8.3.4"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-53384.json"
}
}
],
"modified": "2026-10-28T02:30:37.098700803Z",
"provider": "osv",
"references": [
"https://gist.github.com/jackfromeast/36f98bf7542d11835c883c1d175d9b92",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/53xxx/CVE-2024-53384.json",
"https://nvd.nist.gov/vuln/detail/CVE-2024-53384"
],
"provider_metadata": {
"cna_assigner": "mitre",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/53xxx/CVE-2024-53384.json"
}
},
"related_cves": [
{
"value": "CVE-2024-53384",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 504456,
"published_at": "2025-03-03T00:00:00+00:00"
}