{"id":"CVE-2025-12735","aliases":["GHSA-jc85-fpwf-qm7x"],"url":"https://o3.security/vulnerability/CVE-2025-12735","summary":"CVE-2025-12735","details":"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.","published":"2025-11-05T00:22:55.297Z","modified":"2026-08-08T03:30:34.462175887Z","cvss":{"score":9.8,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},"epss":null,"cisaKev":null,"exploitsKnown":1,"affectedPackages":[{"ecosystem":"npm","name":"expr-eval","fixedVersion":null},{"ecosystem":"npm","name":"expr-eval-fork","fixedVersion":"3.0.1"}],"fix":{"url":"https://github.com/silentmatt/expr-eval/pull/288","label":"silentmatt/expr-eval#288"},"references":[{"type":"WEB","url":"https://www.kb.cert.org/vuls/id/263614"},{"type":"WEB","url":"https://www.npmjs.com/package/expr-eval"},{"type":"WEB","url":"https://www.npmjs.com/package/expr-eval-fork"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/12xxx/CVE-2025-12735.json"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-jc85-fpwf-qm7x"},{"type":"ADVISORY","url":"https://kb.cert.org/vuls/id/263614"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-12735"},{"type":"FIX","url":"https://github.com/silentmatt/expr-eval/pull/288"},{"type":"PACKAGE","url":"https://github.com/jorenbroekema/expr-eval"},{"type":"PACKAGE","url":"https://github.com/silentmatt/expr-eval"},{"type":"EVIDENCE","url":"https://github.com/jorenbroekema/expr-eval/blob/460b820ba01c5aca6c5d84a7d4f1fa5d1913c67b/test/security.js"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-08T03:30:34.462175887Z"}}