CVE-2025-12735: Code Injection

Published Nov 5, 2025
·
Updated

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.

Other sources

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 variables object into the evaluate() function and trigger arbitrary code execution.

NVD

Affected Software

7 affected componentsFixes available
expr-eval expr-eval
npm/expr-eval-fork<=2.0.2
3.0.0
npm/expr-eval<=2.0.2
npm/expr-eval-fork<=3.0.0
3.0.1
IBM Concert Software<=1.0.0-2.1.0
Jorenbroekema Javascript Expression Evaluator Node.js=3.0.0
Silentmatt Javascript Expression Evaluator Node.js<=2.0.2

Event History

Nov 5, 2025
CVE Published
via MITRE·12:22 AM
Data Sourced
via MITRE·12:22 AM
DescriptionWeakness
Data Sourced
via NVD·01:15 AM
RemedyDescriptionSeverityWeaknessAffected Software
Advisory Published
via GitHub·03:30 AM
Data Sourced
via GitHub·03:30 AM
DescriptionWeaknessAffected Software
Nov 10, 2025
News Published
via BleepingComputer·06:32 PM
News Published
via BleepingComputer·06:33 PM
Dec 22, 2025
Data Sourced
via IBM·12:00 AM
DescriptionAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2025-12735?

The severity of CVE-2025-12735 is considered high due to the potential for remote code execution through insufficient input validation.

2

How do I fix CVE-2025-12735?

To fix CVE-2025-12735, update the expr-eval library to the latest version that includes input validation enhancements.

3

What are the potential impacts of CVE-2025-12735?

The potential impacts of CVE-2025-12735 include remote code execution and unintended manipulation of mathematical expressions.

4

Which versions of the expr-eval library are affected by CVE-2025-12735?

All versions of the expr-eval library prior to the fix for CVE-2025-12735 are affected.

5

How can I determine if my application is vulnerable to CVE-2025-12735?

You can determine if your application is vulnerable to CVE-2025-12735 by checking if it uses the affected versions of the expr-eval library without proper input validation.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203