Advisory

GHSA-fp3m-g5rc-4c28

Also known as: CVE-2024-53386

Summary

Stage.js DOM Clobbering vulnerabilty

Details

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2025-03-03 09:30 UTC
Modified
2025-06-30 12:51 UTC

Affected packages and fixes

stage-js

npm · All systems

Affected

  • introduced 0, last affected 0.8.10 (semver)

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences