{"id":"CVE-2019-15657","aliases":["EUVD-2019-0616","GHSA-3gx7-xhv7-5mx3"],"status":"published","title":"Arbitrary Code Execution in eslint-utils","description":"In eslint-utils before 1.4.1, the getStaticValue function can execute arbitrary code.","severity":{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.02269,"percentile":0.83174,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-20"],"published":"2019-08-26T16:59:56Z","modified":"2026-10-20T10:50:45Z","fixes":[{"ecosystem":"npm","package":"eslint-utils","fixed_in":["1.4.1"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"npm","package":"eslint-utils","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.2.0"},{"fixed":"1.4.1"}]}]},{"source":"osv","ecosystem":"npm","package":"eslint-utils","ranges":[{"type":"SEMVER","events":[{"introduced":"1.2.0"},{"fixed":"1.4.1"}]}]}],"products":[{"vendor":"eslint-utils_project","product":"eslint-utils"}],"references":[{"url":"https://github.com/mysticatea/eslint-utils/security/advisories/GHSA-3gx7-xhv7-5mx3","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2019-15657","tags":["advisory"]},{"url":"https://eslint.org/blog/2019/08/eslint-v6.2.1-released","tags":["web"]},{"url":"https://github.com/advisories/GHSA-3gx7-xhv7-5mx3","tags":["advisory"]},{"url":"https://www.npmjs.com/advisories/1118","tags":["web"]},{"url":"https://github.com/mysticatea/eslint-utils/commit/08158db1c98fd71cf0f32ddefbc147e2620e724c","tags":["web"]},{"url":"https://github.com/mysticatea/eslint-utils","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2019-15657","description":"In eslint-utils before 1.4.1, the getStaticValue function can execute arbitrary code.","status":"published","published":"2019-08-26T22:55:12Z","modified":"2024-08-05T00:56:22.094Z","updated_at":"2026-11-02T14:20:21.397307Z"}],"euvd":[{"id":"EUVD-2019-0616","description":"In eslint-utils before 1.4.1, the getStaticValue function can execute arbitrary code.","status":"published","published":"2019-08-26T22:55:12Z","modified":"2024-08-05T00:56:22Z","updated_at":"2026-11-03T02:40:35.584574Z"}],"ghsa":[{"id":"GHSA-3gx7-xhv7-5mx3","title":"Arbitrary Code Execution in eslint-utils","description":"Versions of `eslint-utils` \u003e=1.2.0 or \u003c1.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.\n\n\n## Recommendation\n\nUpgrade to version 1.4.1 or later.","status":"published","published":"2019-08-26T16:59:56Z","modified":"2025-02-12T05:09:12Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-20"],"updated_at":"2026-11-02T14:38:30.754382Z"}],"nvd":[{"id":"CVE-2019-15657","description":"In eslint-utils before 1.4.1, the getStaticValue function can execute arbitrary code.","status":"published","published":"2019-08-26T23:15:09.24Z","modified":"2026-06-17T02:20:50.103Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary"},{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","level":"high","assessor":"primary"}],"updated_at":"2026-11-02T14:05:23.725587Z"}],"osv":[{"id":"CVE-2019-15657","description":"In eslint-utils before 1.4.1, the getStaticValue function can execute arbitrary code.","status":"published","published":"2019-08-26T23:15:09.24Z","modified":"2026-10-20T10:50:45.500556911Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:44:11.361782Z"},{"id":"GHSA-3gx7-xhv7-5mx3","title":"Arbitrary Code Execution in eslint-utils","description":"Versions of `eslint-utils` \u003e=1.2.0 or \u003c1.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.\n\n\n## Recommendation\n\nUpgrade to version 1.4.1 or later.","status":"published","published":"2019-08-26T16:59:56Z","modified":"2026-09-10T03:48:25.144691813Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-20"],"updated_at":"2026-11-02T15:46:35.747385Z"}]}}
