Live threats

All CVEs / Mathjs

CVE-2026-41139Mathjs

High 8.8

Priority
53
CVSS 3.1
8.8
EPSS
—
Auth required
Yes
Published
May 7, 2026
Updated
Oct 26, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-915, CWE-94
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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Mathjs.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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)

VendorProductVersions
mathjsmathjs≥ 13.1.0 < 15.2.0

Official sources

References

Links published by the sources. Open them with care.