{
  "schema_version": "1.4.0",
  "id": "GHSA-3mv9-4h5g-vhg3",
  "modified": "2025-03-03T22:22:44Z",
  "published": "2025-03-03T18:31:29Z",
  "aliases": [
    "CVE-2024-53384"
  ],
  "summary": "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",
  "severity": [
    {
      "type": "CVSS_V4",
      "score": "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"
    }
  ],
  "affected": [
    {
      "package": {
        "ecosystem": "npm",
        "name": "tsup"
      },
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "8.3.4"
            }
          ]
        }
      ]
    }
  ],
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2024-53384"
    },
    {
      "type": "WEB",
      "url": "https://gist.github.com/jackfromeast/36f98bf7542d11835c883c1d175d9b92"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/egoist/tsup"
    }
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-79"
    ],
    "severity": "LOW",
    "github_reviewed": true,
    "github_reviewed_at": "2025-03-03T22:22:44Z",
    "nvd_published_at": "2025-03-03T18:15:29Z"
  }
}