{"cve":"CVE-2025-12735","nvd":{"published":"2025-11-05T01:15:33.313","modified":"2026-10-18T21:10:00.120","status":"Analyzed","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8},"cwes":["CWE-94"],"references":["https://github.com/advisories/GHSA-jc85-fpwf-qm7x","https://github.com/jorenbroekema/expr-eval","https://github.com/silentmatt/expr-eval","https://github.com/silentmatt/expr-eval/pull/288","https://kb.cert.org/vuls/id/263614"],"products":["jorenbroekema:javascript_expression_evaluator","silentmatt:javascript_expression_evaluator"],"source":"nvd","synced_at":"2026-10-19T22:14:53.307938015+00:00"},"epss":{"cve":"CVE-2025-12735","score":0.01761,"percentile":0.77844,"date":"2026-10-25"},"kev":null,"osv":[{"id":"GHSA-jc85-fpwf-qm7x","url":"https://osv.dev/vulnerability/GHSA-jc85-fpwf-qm7x","summary":"expr-eval does not restrict functions passed to the evaluate function","modified":"2026-09-10T03:50:31.031027873Z","packages":[{"ecosystem":"npm","name":"expr-eval","purl":"pkg:npm/expr-eval","ranges":["<=2.0.2"],"fixed":[]},{"ecosystem":"npm","name":"expr-eval-fork","purl":"pkg:npm/expr-eval-fork","ranges":["<3.0.1"],"fixed":["3.0.1"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}