← All CVEs

CVE-2025-12735

critical · 9.8

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.

9.8
CVSS
2.3%
EPSS (exploit prob.)
82nd
EPSS percentile
2025-11-05
Published

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Weaknesses

CWE-94

Affected products

VendorProductAffected versions
jorenbroekemajavascript_expression_evaluator3.0.0
silentmattjavascript_expression_evaluator<= 2.0.2

Check a specific version with /api/v1/cve/match.

References

Query this programmatically:

curl https://evil-db.io/api/v1/cve/CVE-2025-12735