Skip to main content
Public proof of conceptFix available

CVE-2025-12735

A public proof of concept exists; no exploitation attested.

  • Published2025-11-05
  • WeaknessCWE-94

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

Description

The expr-eval library is a JavaScript expression parser and evaluator designed to safely evaluate mathematical expressions with user-defined variables. However, due to insufficient input validation, an attacker can pass a crafted context object or use MEMBER of the context object into the evaluate() function and trigger arbitrary code execution.

Timeline

dates in UTC
  1. 2025-11-0501:15CVE publishedNVD

Versions per branch

OSV · NVD
expr-eval
BranchAffectedFixed in
2.0≤ 2.0.2no fix published
Jorenbroekema javascript expression evaluator
BranchAffectedFixed in
3.0= 3.0.0no fix published
Silentmatt javascript expression evaluator
BranchAffectedFixed in
2.0≤ 2.0.2no fix published

1 more product in the sources.

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Products declared by the CNA2 products

As certcc, the CNA that assigned this CVE, declared them in the CVE record; versions as written.

  • silentmatt expr-eval
    Affected
    • ≤ 2.0.2no fix statedsemver
  • expr-eval-fork
    Affected
    • ≤ 3.0.0no fix statedsemver

Source: the CNA record (CVE Program), © The MITRE Corporation,CVE Terms of UseCVE recordupdated 2025-11-22

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • @rootio/expr-evalRoot:npmall versions · fixed in 2.0.2-root.io.1
  • @rootio/expr-evalRoot:npmall versions · fixed in 2.0.2-root.io.2
  • @rootio/expr-evalRoot:npmall versions · fixed in 2.0.2-root.io.3
  • @rootio/expr-evalRoot:npmall versions · fixed in 2.0.2-root.io.4
  • expr-evalTuxCare:npmfrom 2.0.2-tuxcare.0 · fixed in 2.0.2-tuxcare.1
  • expr-evalRoot:npmall versions · fixed in 2.0.2-aikido.3
  • expr-evalRoot:npmall versions · fixed in 2.0.2-aikido.4
  • kibana-8.17Chainguardall versions · no fixed version listedand 4 other packages

6 more package ranges on OSV.dev

Vendor advisories

Full record on NVD

Fix

Advisories and patches

Detection

read 2026-11-01 01:02 UTC
Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Metasploit modules
none listed
Metasploit Framework

Sources

Identifiers

Technical details

CVSS v3 Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Published
2025-11-05
Last Modified
2026-10-18
NVD status
Analyzed
GitHub Advisory
GHSA-jc85-fpwf-qm7x

Frequently asked questions

What is CVE-2025-12735?

The expr-eval library is a JavaScript expression parser and evaluator designed to safely evaluate mathematical expressions with user-defined variables. However, due to insufficient input validation, an attacker can pass a crafted context object or use MEMBER of the context object into the evaluate() function and trigger arbitrary code execution.

Is CVE-2025-12735 actively exploited?

A proof-of-concept exploit exists for CVE-2025-12735, but active exploitation has not been confirmed at this time.

What is the CVSS score for CVE-2025-12735?

CVE-2025-12735 has a CVSS v3 base score of 9.8 (CRITICAL severity), with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.

Running expr-eval? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website lookups · 250 API requests/month

Sources for this record