Vulnerability Details CVE-2026-40897
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.
Exploit prediction scoring system (EPSS) score
EPSS Score 0.001
EPSS Ranking 15.7%
CVSS Severity
CVSS v3 Score 8.8
Products affected by CVE-2026-40897
-
cpe:2.3:a:mathjs:mathjs:13.1.1
-
cpe:2.3:a:mathjs:mathjs:13.2.0
-
cpe:2.3:a:mathjs:mathjs:13.2.1
-
cpe:2.3:a:mathjs:mathjs:13.2.2
-
cpe:2.3:a:mathjs:mathjs:13.2.3
-
cpe:2.3:a:mathjs:mathjs:14.0.0
-
cpe:2.3:a:mathjs:mathjs:14.0.1
-
cpe:2.3:a:mathjs:mathjs:14.1.0
-
cpe:2.3:a:mathjs:mathjs:14.2.0
-
cpe:2.3:a:mathjs:mathjs:14.2.1
-
cpe:2.3:a:mathjs:mathjs:14.3.0
-
cpe:2.3:a:mathjs:mathjs:14.3.1
-
cpe:2.3:a:mathjs:mathjs:14.4.0
-
cpe:2.3:a:mathjs:mathjs:14.5.0
-
cpe:2.3:a:mathjs:mathjs:14.5.1
-
cpe:2.3:a:mathjs:mathjs:14.5.2
-
cpe:2.3:a:mathjs:mathjs:14.5.3
-
cpe:2.3:a:mathjs:mathjs:14.6.0
-
cpe:2.3:a:mathjs:mathjs:14.7.0
-
cpe:2.3:a:mathjs:mathjs:14.8.0
-
cpe:2.3:a:mathjs:mathjs:14.8.1
-
cpe:2.3:a:mathjs:mathjs:14.9.0
-
cpe:2.3:a:mathjs:mathjs:14.9.1
-
cpe:2.3:a:mathjs:mathjs:15.0.0
-
cpe:2.3:a:mathjs:mathjs:15.1.0
-
cpe:2.3:a:mathjs:mathjs:15.1.1