CVE-2024-21541 - CVE House
Back to Database
Status published Medium CVE-2024-21541

Versions of the package dom-iterator before 1.0.1 are vulnerable to...

Vulnerability 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.

Impact Analysis

Refer to official advisory for detailed impact metrics.

Remediation

Ensure systems are updated to the latest vendor-supplied patch levels.

THREAT MONITOR

Am I Vulnerable?

Launch our assessment wizard to check if your infrastructure is exposed to • CVE-2024-21541

Credits & Attribution

The following person or organization is credited with identifying this vulnerability, as recorded in the NVD database:

  • NodeMedic-FINE

Affected Vendor

Affected Software

dom-iterator, org.webjars.npm:dom-iterator
Vulnerable Versions:
0

Timeline

Official Publish: November 13th, 2024
Last Modified: January 16th, 2025
Added to House: July 22nd, 2026

CVSS Vectors

Weaknesses (CWE)