עברית

Vulnerability Intelligence

CVE-2026-40897

High 8.8

Published
Last modified
NVD status
Modified

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.

Affected products

mathjs: mathjs

References6

Metrics

CVSS 3.1
8.8 HIGH Score source: CNA CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS — exploit probability
1% percentile: 47 · as of 13 November 2026
CWE
CWE-915CWE-917

Could this be exploited in your environment?

A patch closes the known hole. A penetration test shows what an attacker can still reach — with proof.