CVE-2026-41139Mathjs
High 8.8
Follow: this CVE · Mathjs · Mathjs We alert you by email or Slack (account required).
- Priority
- 53
- CVSS 3.1
- 8.8
- EPSS
- —
- Auth required
- Yes
- Published
- May 7, 2026
- Updated
- Oct 26, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Mathjs.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | mathjs |
≥ 13.1.0 < 15.2.0 |
15.2.0 |
npm install mathjs@15.2.0 |
Per OSV / GitHub Advisories (GHSA-jvff-x2qm-6286). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| mathjs | mathjs | ≥ 13.1.0 < 15.2.0 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch
- github.com Patch
- github.com Issue Tracking Patch
- github.com Release Notes
- github.com Patch Vendor Advisory
- access.redhat.com
- bugzilla.redhat.com
- security.access.redhat.com