Vulnerability · Published Mar 3, 2025 · Assigned by mitre

CVE-2024-53386

Medium 4.9

In plain English

A medium-severity code injection in Stage.js from Piqnt. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 16% of all known vulnerabilities).

Severity (CVSS 3.1)4.9Medium
Exploit odds (30 days)0.2%top 83.5% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
npmstage-jsno fix listedGHSA-fp3m-g5rc-4c28

Affected products (as reported)

VendorProductVersions
Piqnt Stage.js 0 – through 0.8.10

Weakness: CWE-94 · Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:N

References