dom-iterator
Affected
- introduced
0, fixed1.0.1(semver)
Fixed versions
1.0.1
Fix
- Fixed version
1.0.1npm install [email protected]
Advisory
Also known as: CVE-2024-21541
dom-iterator code execution vulnerability
Versions of the package dom-iterator before 1.0.1 are vulnerable to Arbitrary Code Execution due to use of the Function constructor without complete input sanitization. Function generates a new function body and thus care must be given to ensure that the inputs to Function are not attacker-controlled. The risks involved are similar to that of allowing attacker-controlled input to reach eval.
Medium Basis: The source's own band: MODERATE
0, fixed 1.0.1 (semver)1.0.1
1.0.1npm install [email protected]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
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0