Vulnerability

CVE-2026-40897

highCVSS 3.1 8.8Published 24 Apr 2026

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

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

From the NVD's configuration data (CPE), vendor first.

  • Mathjs mathjs

Weakness type

References

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning