CVE-2024-21541
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.
Published:Nov 13, 2024
Last Modified:Jan 16, 2025
EPS:Nov 13, 2024
EPSS Score:0.00677
CVSS Score:7.3
Affected Products
Vendor
Product
Action
Vendor
Dom-iterator
Product
Dom-iterator
Dom-iterator
Dom-iterator
Vendor
Matthewmueller
Product
Dom-iterator
Matthewmueller
Dom-iterator
Common Weakness Enumeration
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
