Description
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.
References (2)
Core 2
Core References
Exploit, Third Party Advisory
https://gist.github.com/jackfromeast/31d56f1ad17673aabb6ab541e65a5534
Scores
CVSS v3
4.9
EPSS
0.0033
EPSS Percentile
55.6%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:N
CISA SSVC
Vulnrichment
Exploitation
poc
Automatable
no
Technical Impact
partial
Details
CWE
CWE-94
CWE-79
Status
published
Products (2)
npm/stage-js
0npm
piqnt/stage.js
< 0.8.10
Published
Mar 03, 2025
Tracked Since
Feb 18, 2026