RCE in Matthewmueller Dom-Iterator
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.
Vulnerability class: RCE (Remote Code Execution)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.3 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L.
EPSS exploit prediction
EPSS: 0.011 (64.0th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 64th percentile — 64.0% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.011 · newest: 0.011 · change: 0.000
Affected products
- Matthewmueller Dom-Iterator
- Dom-Iterator — versions 0
- Org.webjars.npm:dom-Iterator — versions 0
Weakness classification (CWE)
References
Frequently asked questions
- What is CVE-2024-21541?
- CVE-2024-21541 is a high-severity vulnerability in Matthewmueller Dom-Iterator, classified under Code Injection. CVSS score: 7.3/10. Published 2024-11-13.
- How severe is CVE-2024-21541?
- High severity. CVSS v3 base score is 7.3 out of 10.