Every CVE Search/ Get API key

CVE-2019-15657

Arbitrary Code Execution in eslint-utils

9.8 CriticalFix available

In eslint-utils before 1.4.1, the getStaticValue function can execute arbitrary code.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
High
Integrity
High
Availability
High

Exploit likelihood

2.27%Up 1.5 points since Apr 14, 2021
90%50%10%1%

What each source reports

NVD Score used 9.8

In eslint-utils before 1.4.1, the getStaticValue function can execute arbitrary code.

Record
CVE-2019-15657
CVSS 3.0
9.8 CriticalCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS 2.0
7.5 HighAV:N/AC:L/Au:N/C:P/I:P/A:P
Updated
2026-11-02
CVE List No score

In eslint-utils before 1.4.1, the getStaticValue function can execute arbitrary code.

Record
CVE-2019-15657
Updated
2026-11-02
EUVDEUVD-2019-0616 No score

In eslint-utils before 1.4.1, the getStaticValue function can execute arbitrary code.

Record
EUVD-2019-0616
Updated
2026-11-03
GitHub AdvisoriesGHSA-3gx7-xhv7-5mx3 9.8

Arbitrary Code Execution in eslint-utils

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.

Record
GHSA-3gx7-xhv7-5mx3
CVSS 3.0
9.8 CriticalCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-20
Updated
2026-11-02
OSV 9.8

In eslint-utils before 1.4.1, the getStaticValue function can execute arbitrary code.

Record
CVE-2019-15657
CVSS 3.0
9.8 CriticalCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVGHSA-3gx7-xhv7-5mx3 9.8

Arbitrary Code Execution in eslint-utils

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.

Record
GHSA-3gx7-xhv7-5mx3
CVSS 3.0
9.8 CriticalCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-20
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
eslint-utils
npm
1.2.0 up to 1.4.1
1.4.1

History

History
RecordedChangedSources
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2019-15657 is a critical vulnerability (CVSS 9.8) in Eslint-utils Project Eslint-utils, published August 26, 2019. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 2.27%, the 83rd percentile. Fixed in eslint-utils 1.4.1.

References

MoveEnter Open