{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2025-12735","id":"CVE-2025-12735","title":"CVE-2025-12735","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.","descriptionLong":"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","updated":"2026-10-28T02:31:03.313725283Z","reserved":"2025-11-05T00:04:49.648Z","status":"Analyzed","rejected":false,"assigner":"certcc","metric":{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"CISA-ADP"},"metrics":[{"version":"4.0","score":null,"vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","rating":"high","source":"GitHub"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"CISA-ADP"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"OSV"}],"rating":"critical","products":["silentmatt expr-eval","expr-eval-fork"],"affectedProducts":[{"vendor":"silentmatt","product":"expr-eval","defaultStatus":null,"versions":[{"status":"affected","version":"0","lessThanOrEqual":"2.0.2","versionType":"semver"}],"platforms":[]},{"vendor":"expr-eval-fork","product":"expr-eval-fork","defaultStatus":null,"versions":[{"status":"affected","version":"0","lessThanOrEqual":"3.0.0","versionType":"semver"}],"platforms":[]}],"packages":[{"ecosystem":"npm","name":"expr-eval","purl":"pkg:npm/expr-eval","ranges":["<=2.0.2"],"fixed":[],"advisory":"GHSA-jc85-fpwf-qm7x"},{"ecosystem":"npm","name":"expr-eval-fork","purl":"pkg:npm/expr-eval-fork","ranges":["<3.0.1"],"fixed":["3.0.1"],"advisory":"GHSA-jc85-fpwf-qm7x"}],"cwes":["CWE-94","CWE-1321"],"aliases":["GHSA-jc85-fpwf-qm7x"],"references":[{"url":"https://github.com/silentmatt/expr-eval","tags":["Product","package","web"]},{"url":"https://github.com/jorenbroekema/expr-eval","tags":["Product","package","web"]},{"url":"https://www.npmjs.com/package/expr-eval-fork","tags":["Product","web"]},{"url":"https://www.npmjs.com/package/expr-eval","tags":["Product","web"]},{"url":"https://github.com/silentmatt/expr-eval/pull/288","tags":["Issue Tracking","Patch","fix","web"]},{"url":"https://github.com/advisories/GHSA-jc85-fpwf-qm7x","tags":["third-party-advisory","Third Party Advisory","advisory"]},{"url":"https://kb.cert.org/vuls/id/263614","tags":["third-party-advisory","Third Party Advisory","advisory","web"]},{"url":"https://github.com/jorenbroekema/expr-eval/blob/460b820ba01c5aca6c5d84a7d4f1fa5d1913c67b/test/security.js","tags":["exploit","Product","evidence","web"]},{"url":"https://www.kb.cert.org/vuls/id/263614","tags":["Third Party Advisory","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/12xxx/CVE-2025-12735.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-12735","tags":["advisory"]},{"url":"https://github.com/silentmatt/expr-eval/pull/289","tags":["web"]},{"url":"https://github.com/jorenbroekema/expr-eval/commit/1d71bb2ca8f98df8de00e9cc4de8fdd468a7ad43","tags":["web"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"total"},"epss":0.01761,"epssPercentile":0.78491,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2025-12735","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-12735","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2025-12735","ok":true,"note":"2 packages"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-jc85-fpwf-qm7x","ok":true,"note":"GHSA-jc85-fpwf-qm7x"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2025-12735","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}