Not a U.S. government website. NDD is an independent vulnerability database by Volerion and is not affiliated with or endorsed by NIST or NVD.
VOLERION
Volerion Security Research

NOT DEFERRED DATABASE

VULNERABILITIES

CVE-2026-40897 Details

Description

Math.js is an extensive math library for JavaScript and Node.js. From 13.1.1 to before 15.2.0, a vulnerability allowed executing arbitrary JavaScript via the expression parser of mathjs. You can be affected when you have an application where users can evaluate arbitrary expressions using the mathjs expression parser. This vulnerability is fixed in 15.2.0.

Metrics

CVSS 3.x Severity and Vector Strings:

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.

Weakness Enumeration

CWE-IDCWE NameSource
CWE-915Improperly Controlled Modification of Dynamically-Determined Object Attributes[email protected]
CWE-917Improper Neutralization of Special Elements used in an Expression Language Statement ('Expression Language Injection')redhat-SADP

Affected Products

ProductVersions
mathjs mathjs
>= 13.1.1, < 15.2.0

CPE

  • cpe:2.3:a:mathjs:mathjs:*:*:*:*:*:node.js:*:*

Remediation

  • No remediation found in references.

Change History

6 change records found show changes


QUICK INFO

CVE Dictionary Entry:
CVE-2026-40897
NVD Published Date:
Apr 24, 2026
NVD Last Modified:
Jul 15, 2026
Source:
[email protected]
CVE-2026-40897 Details - Not Deferred