medium4.9
CVE-2024-53386
Stage.js DOM Clobbering vulnerabilty
Impact
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.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| npm | stage-js | <= 0.8.10 | none recorded |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Piqnt | Stage.Js | through 0.8.10 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://gist.github.com/jackfromeast/31d56f1ad17673aabb6ab541e65a5534
- https://github.com/piqnt/stage.js/blob/919f6e94b14242f6e6994141a9e1188439d306d5/lib/core.js#L158-L159
- https://github.com/advisories/GHSA-fp3m-g5rc-4c28
- https://nvd.nist.gov/vuln/detail/CVE-2024-53386