8.8
High
CVE-2026-40897 Math.js is an extensive math library for JavaScript and Node.js
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 and versions
| Product | Affected versions | Fixed in |
|---|---|---|
| mathjs 13.1 | 13.1.1 → < 15.2.0 | 15.2.0 |
| Red Hat Developer Hub | Versions not published | |
| Red Hat Enterprise Linux 10 | Versions not published | |
| Red Hat Enterprise Linux 8 | Versions not published | |
| Red Hat Enterprise Linux 9 | Versions not published | |
| Red Hat OpenShift AI (RHOAI) | Versions not published | |
| Red Hat OpenShift Container Platform 4 | Versions not published | |
| Self-service automation portal 2 | Versions not published |
References
- github.com github.com
- github.com github.com
- github.com github.com
Timeline
- Published
- Last modified