CVEvulnerability

CVE-2025-12735

9.8 CRITICAL Published 2025-11-05 Modified 2026-10-18 Official page ↗
Status
Analyzed
Published
2025-11-05
Last modified
2026-10-18
Assigner
[email protected]
CVSS 3.1 (134c704f-9b21-4f2e-91b3-4a467353bcc0)
9.8 CRITICAL — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weaknesses
CWE-94

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.

Affected configurations

• jorenbroekema javascript expression evaluator 3.0.0 • silentmatt javascript expression evaluator (<= 2.0.2)

Related

Weakness · CWE (1)

  • CWE-94 Improper Control of Generation of Code weakness

References