Vulnerability

CVE-2024-21541

mediumCVSS 4.0 5.5Published 13 Nov 2024

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

Description

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.

Affected products

From the NVD's configuration data (CPE), vendor first.

  • Matthewmueller dom-iterator

Weakness type

References

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning