# mathjs (npm) vulnerabilities

5 known vulnerabilities (3 high), with the versions each affects and the releases that fix them.

## At a glance

- Latest release: not known (cve.now hasn't read this package's releases)
- Newest unaffected release: not known without release data
- Weekly downloads: 5.3M
- Dependents: 607
- Registry: https://www.npmjs.com/package/mathjs

## Advisories (5)

### [CVE-2026-41139](https://cve.now/CVE-2026-41139): Unsafe array index getter in mathjs

- Severity: High 8.8
- Published: May 7, 2026
- Affected: from 13.1.0, fixed in 15.2.0.

### [CVE-2026-40897](https://cve.now/CVE-2026-40897): Math.js: Unsafe object property setter in mathjs

- Severity: High 8.8
- Published: Apr 24, 2026
- Affected: from 13.1.1, fixed in 15.2.0.

### [CVE-2020-7743](https://cve.now/CVE-2020-7743): Prototype Pollution

- Severity: High 7.3
- Published: Oct 13, 2020
- Affected: fixed in 7.5.1.

### [CVE-2017-1001003](https://cve.now/CVE-2017-1001003): math.js before 3.17.0 had an issue where private properties such as a constructor could be replaced by using unicode characters when…

- Severity: Unrated
- Published: Nov 27, 2017
- Affected: fixed in 3.17.0.

### [CVE-2017-1001002](https://cve.now/CVE-2017-1001002): math.js before 3.17.0 had an arbitrary code execution in the JavaScript engine.

- Severity: Unrated
- Published: Nov 27, 2017
- Affected: fixed in 3.17.0.

---

Source: cve.now
Built by [Sazabi](https://www.sazabi.com/?utm_source=cve-now&utm_medium=markdown), AI-native observability and security: automatic issue detection, plain-language log search and live dashboards.
Page: https://cve.now/packages/npm/mathjs
Site guide for agents: https://cve.now/llms.txt
Uses NVD data; not endorsed by NVD.
