{"id":"CVE-2017-16226","published":"2018-06-07T02:00:00Z","modified":"2024-09-16T16:38:08Z","title":"The static-eval module is intended to evaluate statically-analyzable expressions","vendor":"HackerOne","product":"static-eval node module node module","tier":"tail","description":{"text":"The static-eval module is intended to evaluate statically-analyzable expressions. In affected versions, untrusted user input is able to access the global function constructor, effectively allowing arbitrary code execution.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.03474,"percentile":0.89373,"provenance":"source"},"cwes":[{"id":"CWE-20","name":"Improper Input Validation"}],"references":[{"url":"https://nodesecurity.io/advisories/548","tags":["x_refsource_MISC"]},{"url":"https://maustin.net/articles/2017-10/static_eval","tags":["x_refsource_MISC"]},{"url":"https://github.com/substack/static-eval/pull/18","tags":["x_refsource_MISC"]}],"priority":{"score":17.9,"factors":[{"name":"EPSS percentile","points":17.87}]},"vendorSlug":"hackerone","affectedVersions":[{"vendor":"HackerOne","product":"static-eval node module node module","versions":["<=1.1.1"]}],"affected":[{"ecosystem":"npm","package":"static-eval","vulnerableRanges":["<2.0.0"],"patched":["2.0.0"],"from":["GHSA-5mjw-6jrh-hvfq"],"provenance":"source"}],"summary":{"text":"The static-eval Node.js module, which is meant to evaluate statically-analyzable expressions, contains an improper input validation flaw. An attacker who can supply expression input to an affected version can reach the global Function constructor and execute arbitrary code.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:26:52Z"},"euvd":{"id":"EUVD-2018-0370","exploited":false,"provenance":"source"}}