# CVE-2024-53386: Stage.js DOM Clobbering vulnerabilty

- Severity: Medium 4.9 (CVSS:3.1, scored by mitre) `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.25%, higher than 17% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-03-03T00:00:00.000Z
- Modified: 2026-06-17T08:08:51.420Z
- Also known as: GHSA-fp3m-g5rc-4c28
- Weaknesses: CWE-79, CWE-94
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: mitre

## 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.

(As written by CVE List.)

## Affected

- Piqnt Stage.js: up to 0.8.10
- stage-js (npm): up to 0.8.10

## Every score

- mitre: CVSS:3.1 4.9 Medium `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:N`
- GitHub: CVSS:3.1 4.9 Medium `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:N`
- NVD: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`

## 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)

## Sources

- CVE List: [CVE-2024-53386](https://www.cve.org/CVERecord?id=CVE-2024-53386), CVE Terms of Use, modified 2025-03-03
- GitHub Advisory Database: [GHSA-fp3m-g5rc-4c28](https://github.com/advisories/GHSA-fp3m-g5rc-4c28), CC-BY-4.0, modified 2025-06-30
- NVD: [CVE-2024-53386](https://nvd.nist.gov/vuln/detail/CVE-2024-53386), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-53386 · Whole record: https://cve.day/CVE-2024-53386.json · Rebuilt by cve.day 2026-11-25T22:58:52.141Z
