Live threats

All CVEs / Static-eval Project

CVE-2017-16226Static-eval Project Static-eval

Critical 9.8 No auth needed

Priority
74
CVSS 3.0
9.8
EPSS
3.5%
probability of exploitation in 30 days · percentile 90
Auth required
No
Published
Jun 7, 2018
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-20
Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Static-eval.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm static-eval < 2.0.0 2.0.0 npm install static-eval@2.0.0

Per OSV / GitHub Advisories (GHSA-5mjw-6jrh-hvfq). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
static-eval_projectstatic-eval< 2.0.0

Official sources

References

Links published by the sources. Open them with care.