What’s Vulnerable › Vulnerabilities

CVE-2026-41139: Unsafe array index getter in mathjs

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.

Affected products

How to fix

Upgrade to a fixed version: josdejong mathjs 15.2.0. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-41139 or the next vulnerability affects your stack