What’s Vulnerable › Vulnerabilities
CVE-2017-16226
- Severity: critical (CVSS 9.8 v3.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 3.5% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2018-06-07 · updated 2026-06-17
- Weakness: CWE-20
Description
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.
Affected products
- HackerOne static-eval node module node module: before 2.0.0 — fixed in 2.0.0
How to fix
Upgrade to a fixed version: HackerOne static-eval node module node module 2.0.0. Check the vendor advisory for mitigations.
References
- https://github.com/substack/static-eval/pull/18
- https://maustin.net/articles/2017-10/static_eval
- https://nodesecurity.io/advisories/548
- https://github.com/substack/static-eval/pull/18
- https://maustin.net/articles/2017-10/static_eval
- https://nodesecurity.io/advisories/548
Get alerted when CVE-2017-16226 or the next vulnerability affects your stack