piqnt/stage.js · Security

Stage.js DOM Clobbering vulnerabilty

GHSA ID
GHSA-fp3m-g5rc-4c28
CVE ID
CVE-2024-53386
Severity
medium
Published
Updated
CVSS
4.9 · CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:N
CVSS v3
4.9 · CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:N

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.

CWEs

References