Security mailing lists by PureSourceCode

CVE-2025-12735

CRITICAL 9.8CVSS 3.1

expr-eval does not restrict functions passed to the evaluate function

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
5 Nov 2025
Last modified
18 Oct 2026
Assigned by
cret@cert.org
NVD status
Analyzed
Weakness
CWE-94
Also known as
GHSA-jc85-fpwf-qm7x
Sources
NVDJSONOSV GHSA-jc85-fpwf-qm7xJSON

Scores

SourceScored byVersionScoreVector / decision
OSV GitHub CVSS 4.0 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
NVD 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) CVSS 3.1 CRITICAL 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD jorenbroekema javascript_expression_evaluator
cpe:2.3:a:jorenbroekema:javascript_expression_evaluator:3.0.0:*:*:*:*:node.js:*:*
= 3.0.0
NVD silentmatt javascript_expression_evaluator
cpe:2.3:a:silentmatt:javascript_expression_evaluator:*:*:*:*:*:node.js:*:*
<= 2.0.2
OSV npm expr-eval <= 2.0.2
OSV npm expr-eval-fork < 3.0.1 3.0.1

References

History

  • 25 Nov 2026 20:59 UTC · NVD: first stored (published 5 Nov 2025)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 5 Nov 2025)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.