All reports
Critical

Arbitrary Code Execution in eslint-utils

Affected versions

Affected versions
>= 1.2.0, < 1.4.1
Fixed version
1.4.1

Exploitation

CVE-2019-15657

Probability of exploitation in the next 30 days: 2.27%

FIRST EPSS · 2026-11-23

Description

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.

Links