CVE-2024-53386 Stage.js DOM Clobbering vulnerabilty
Attackers can execute arbitrary JavaScript via DOM clobbering in Stage.js, potentially compromising user sessions or data.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2024-53386?
CVE-2024-53386 is a medium-severity cross-site scripting vulnerability in Piqnt Stage.js, published on 3 Mar 2025. Any signed-in user can exploit it over the network, with no action from the victim.
Official 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.
Which versions are affected by CVE-2024-53386?
2 open source packages ship an affected version, including stage-js. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
stage-js npm | All versions to 0.8.10 | None |
stage-js npm | All versions to 0.8.10 | None |
Products include Piqnt Stage.js.
How do I fix CVE-2024-53386?
No fix has been published for CVE-2024-53386 yet. Limit exposure of the affected software until one is available.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2024-53386 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-53386 exists.
Sources
Also known as GHSA-fp3m-g5rc-4c28.