CVE-2019-15657: Arbitrary Code Execution in eslint-utils

eslint-utils Updated 02 Oct 2025

Summary

26/08/2019
Yes i
Critical
9.8

CVE-2019-15657: Arbitrary Code Execution in eslint-utils. Affects eslint-utils versions >= 1.2.0, < 1.4.1. Fixed in 1.4.1. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

The eslint-utils package is an npm package used for linting JavaScript code. It provides utility functions for ESLint plugins and rules. The package is widely used in the JavaScript development community.

Vulnerability Detail

Versions of eslint-utils >=1.2.0 or <1.4.1 are vulnerable to Arbitrary Code Execution. The vulnerability lies in the getStaticValue function, which does not properly sanitize user input. This allows attackers to supply malicious input that executes arbitrary code during the linting process. The getStringIfConstant and getPropertyName functions are not affected by this vulnerability. The vulnerability has a CVSS score of 9.8, indicating its critical severity.

How To Fix

Latest published version: 3.0.0 as of 22 Oct 2026

npm install eslint-utils@3.0.0

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

1.4.1

This is the first release that contains the fix.

npm install eslint-utils@1.4.1

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Conclusion

The eslint-utils package is vulnerable to arbitrary code execution in versions >=1.2.0 and <1.4.1. It is crucial to upgrade to version 1.4.1 or later to mitigate this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for eslint-utils →

Share this vulnerability

FAQ

The vulnerability allows attackers to execute arbitrary code during the linting process, which can lead to remote code execution or other malicious activities.

Versions >=1.2.0 and <1.4.1 of eslint-utils are affected by this vulnerability.

No, upgrading to version 1.4.1 or later is the recommended solution.

There is no evidence of this vulnerability being exploited in the wild at the time of this advisory.

Yes, this vulnerability has a CVSS score of 9.8, indicating its critical severity.

How To Fix

Latest published version: 3.0.0 as of 22 Oct 2026

npm install eslint-utils@3.0.0

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

1.4.1

This is the first release that contains the fix.

npm install eslint-utils@1.4.1

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback