CVE Feed

    Dashboard / CVE / CVE-2024-21541

    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
    Dom-iterator
    Product
    Dom-iterator
    Vendor
    Matthewmueller
    Product
    Dom-iterator

    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