Back to overview

CVE-2025-12735

CRITICAL Exploitation: PoC
9.8
CVSS 3.1
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.

Metadata

CVE ID
CVE-2025-12735
State
PUBLISHED
Assigner
certcc
Reserved
2025-11-05 00:04 UTC
Published
2025-11-05 00:22 UTC
Last updated
2025-11-22 23:45 UTC
Vendor / Product
silentmatt / expr-eval
Sources
cve.org  ·  NVD

Severity & Metrics

9.8 CRITICAL CVSS 3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
SSVC — CISA Coordinator
Exploitation
PoC
Automatable
yes
Tech. Impact
total
Affected products (2)
VendorProductPlatformVersions
expr-eval-fork expr-eval-fork 0 ≤ 3.0.0
silentmatt expr-eval 0 ≤ 2.0.2
Weakness (CWE)
CWESourceDescription
cna CWE-94: Improper Control of Generation of Code (‘Code Injection’)
cna CWE-1321: Improperly Controlled Modification of Object Prototype Attributes (‘Prototype Pollution’)
CVSS scores (1)
ScoreSeverityVersionSourceVector
9.8 CRITICAL 3.1 adp CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Back to overview