# CVE-2025-12735: CVE-2025-12735

- Severity: Critical 9.8 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.75%, higher than 78% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-11-05T00:22:55.297Z
- Modified: 2026-10-18T21:10:00.120Z
- Also known as: GHSA-jc85-fpwf-qm7x
- Weaknesses: CWE-94, CWE-1321
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total
- Assigned by: certcc

## 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.

(As written by CVE List.)

## Affected

- silentmatt expr-eval: up to 2.0.2
- expr-eval-fork expr-eval-fork: up to 3.0.0
- expr-eval (npm): up to 2.0.2
- expr-eval-fork (npm): before 3.0.1
- jorenbroekema javascript_expression_evaluator: 3.0.0
- silentmatt javascript_expression_evaluator: up to 2.0.2

## Every score

- CISA-ADP: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:4.0 High `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`

## References

- <https://github.com/jorenbroekema/expr-eval/blob/460b820ba01c5aca6c5d84a7d4f1fa5d1913c67b/test/security.js> (exploit, product, web)
- <https://github.com/silentmatt/expr-eval> (product, web)
- <https://github.com/jorenbroekema/expr-eval> (product, web)
- <https://www.npmjs.com/package/expr-eval-fork> (product, web)
- <https://www.npmjs.com/package/expr-eval> (product, web)
- <https://github.com/silentmatt/expr-eval/pull/288> (issue-tracking, patch, web)
- <https://github.com/advisories/GHSA-jc85-fpwf-qm7x> (third-party-advisory)
- <https://kb.cert.org/vuls/id/263614> (third-party-advisory, web)
- <https://www.kb.cert.org/vuls/id/263614> (third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-12735> (advisory)
- <https://github.com/silentmatt/expr-eval/pull/289> (web)
- <https://github.com/jorenbroekema/expr-eval/commit/1d71bb2ca8f98df8de00e9cc4de8fdd468a7ad43> (web)

## Sources

- CVE List: [CVE-2025-12735](https://www.cve.org/CVERecord?id=CVE-2025-12735), CVE Terms of Use, modified 2025-11-22
- GitHub Advisory Database: [GHSA-jc85-fpwf-qm7x](https://github.com/advisories/GHSA-jc85-fpwf-qm7x), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2025-12735](https://nvd.nist.gov/vuln/detail/CVE-2025-12735), Public domain, modified 2026-10-18

---

Page: https://cve.day/CVE-2025-12735 · Whole record: https://cve.day/CVE-2025-12735.json · Rebuilt by cve.day 2026-11-25T22:59:07.221Z
