CVE-2019-15657
Arbitrary Code Execution in eslint-utils
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
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 Critical
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - CVSS 2.0
- 7.5 High
AV: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 Critical
CVSS: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 Critical
CVSS: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 Critical
CVSS: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
| Package | Affected | Fixed |
|---|---|---|
eslint-utilsnpm |
1.2.0 up to 1.4.1 | 1.4.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases | EUVD | |
| first indexed | CVE 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
github.com/mysticatea/eslint-utils/security/advisories/GHSA-3gx7-xhv7-5mx3
nvd.nist.gov/vuln/detail/CVE-2019-15657
eslint.org/blog/2019/08/eslint-v6.2.1-released
github.com/advisories/GHSA-3gx7-xhv7-5mx3
npmjs.com/advisories/1118
github.com/mysticatea/eslint-utils/commit/08158db1c98fd71cf0f32ddefbc147e2620e724c
github.com/mysticatea/eslint-utils