{"id":"GHSA-fp3m-g5rc-4c28","summary":"Stage.js DOM Clobbering vulnerabilty","details":"Stage.js through 0.8.10 allows DOM Clobbering (with resultant XSS for untrusted input that contains HTML but does not directly contain JavaScript), because document.currentScript lookup can be shadowed by attacker-injected HTML elements.","aliases":["CVE-2024-53386"],"modified":"2025-06-30T12:51:24Z","published":"2025-03-03T09:30:34Z","database_specific":{"nvd_published_at":"2025-03-03T07:15:34Z","cwe_ids":["CWE-79","CWE-94"],"severity":"MODERATE","github_reviewed":true,"github_reviewed_at":"2025-03-03T20:17:21Z"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-53386"},{"type":"WEB","url":"https://gist.github.com/jackfromeast/31d56f1ad17673aabb6ab541e65a5534"},{"type":"PACKAGE","url":"https://github.com/piqnt/stage.js"},{"type":"WEB","url":"https://github.com/piqnt/stage.js/blob/919f6e94b14242f6e6994141a9e1188439d306d5/lib/core.js#L158-L159"}],"affected":[{"package":{"name":"stage-js","ecosystem":"npm","purl":"pkg:npm/stage-js"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"last_affected":"0.8.10"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/03/GHSA-fp3m-g5rc-4c28/GHSA-fp3m-g5rc-4c28.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:N"}]}