Description (CNA)
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 (CNA)
| Vendor / product | Versions |
|---|---|
| Piqnt / Stage.js | affected 0 through 0.8.10 |
CWE
CWE-94
References
- https://gist.github.com/jackfromeast/31d56f1ad17673aabb6ab541e65a5534
- https://github.com/piqnt/stage.js/blob/919f6e94b14242f6e6994141a9e1188439d306d5/lib/core.js#L158-L159
ADP enrichment
No English description supplied.