CVE-2026-41139
High
Description
Math.js is an extensive math library for JavaScript and Node.js. From version 13.1.0 to before version 15.2.0, arbitrary JavaScript can be executed via the expression parser of mathjs. This issue has been patched in version 15.2.0.
SeverityHigh
CVSS8.8
Exploit probability—
ProductMathjs
PublishedMay 7, 2026
First seenMay 7, 2026
Weakness typeCWE-915CWE-915
How to fix
Update
- mathjs mathjs15.2.0 or later
- mathjs15.2.0 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| mathjs mathjs | 13.1.0 ≤ v < 15.2.0 | 15.2.0 |
| mathjsnpm | 13.1.0 ≤ v < 15.2.0 | 15.2.0 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
In the Intelligence 360 plan
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.