GHSA-3gx7-xhv7-5mx3

    Dashboard / Vulnerabilities / GHSA-3gx7-xhv7-5mx3

    GHSA-3gx7-xhv7-5mx3

    Published: 26 Aug 2019Last Modified: 10 Sept 2026

    Summary: Arbitrary Code Execution in eslint-utils

    Details: Versions of `eslint-utils` >=1.2.0 or <1.4.1 are vulnerable to Arbitrary Code Execution. The `getStaticValue` does not properly sanitize user input allowing attackers to supply malicious input that executes arbitrary code during the linting process. The `getStringIfConstant` and `getPropertyName` functions are not affected. ## Recommendation Upgrade to version 1.4.1 or later.

    Affected packages

    Package

    Name: eslint-utils

    Purl: pkg:npm/eslint-utils

    Affected ranges

    Type: SEMVER

    Events:

    Introduced- 1.2.0
    Fixed -1.4.1

    Affected versions

    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