CVE-2024-53386
MEDIUM 6.1CVSS 3.1Stage.js DOM Clobbering vulnerabilty
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.
- Published
- 3 Mar 2025
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Analyzed
- Weakness
- CWE-79CWE-94
- Also known as
- GHSA-fp3m-g5rc-4c28
- Sources
- NVDJSONOSV GHSA-fp3m-g5rc-4c28JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | cve@mitre.org (Secondary) | CVSS 3.1 | MEDIUM 4.9 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 4.9 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | piqnt | stage.jscpe:2.3:a:piqnt:stage.js:*:*:*:*:*:*:*:* |
<= 0.8.10 | |
| OSV | npm | stage-js | <= 0.8.10 |
References
- https://gist.github.com/jackfromeast/31d56f1ad17673aabb6ab541e65a5534 · Exploit, Third Party Advisory, WEB
- https://github.com/piqnt/stage.js/blob/919f6e94b14242f6e6994141a9e1188439d306d5/lib/core.js#L158-L159 · Product, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-53386 · ADVISORY
- https://github.com/piqnt/stage.js · PACKAGE
History
- 25 Nov 2026 20:57 UTC · NVD: first stored (published 3 Mar 2025)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 3 Mar 2025)