GHSA-q9v2-7m5w-4693

Suggest an improvement
Source
https://github.com/advisories/GHSA-q9v2-7m5w-4693
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/06/GHSA-q9v2-7m5w-4693/GHSA-q9v2-7m5w-4693.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-q9v2-7m5w-4693
Aliases
  • CVE-2026-12866
Downstream
MINI (7)
Published
2026-06-23T06:30:41Z
Modified
2026-09-22T14:45:10Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
  • 9.2 (Critical) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N CVSS Calculator
Summary
expr-eval vulnerable to Code Execution
Details

All versions of the package expr-eval are vulnerable to Code Execution via the toJSFunction() API. An attacker can execute arbitrary JavaScript by supplying crafted expressions that are compiled into native code using new Function(). Because user-controlled expressions are transformed directly into executable JavaScript, attackers can escape the intended expression sandbox and run arbitrary code within the application's context.

Database specific
{
    "cwe_ids":  [
        "CWE-94"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2026-09-22T14:40:52Z",
    "nvd_published_at":  "2026-06-23T05:17:03Z",
    "severity":  "CRITICAL"
}
References

Affected packages

npm / expr-eval

Package

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Last Affected
2.0.2

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/06/GHSA-q9v2-7m5w-4693/GHSA-q9v2-7m5w-4693.json"

Maven / org.webjars.npm:expr-eval

Package

Name
org.webjars.npm:expr-eval
View open source insights on deps.dev
Purl
pkg:maven/org.webjars.npm/expr-eval

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Last Affected
2.0.2

Affected versions

2.*
2.0.2

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/06/GHSA-q9v2-7m5w-4693/GHSA-q9v2-7m5w-4693.json"