npm package
mathjs
pkg:npm/mathjs
Vulnerabilities (5)
| CVE | Sev | CVSS | KEV | Affected versions | Fixed in | Published | Description |
|---|---|---|---|---|---|---|---|
| CVE-2026-41139 | Hig | 8.8 | >= 13.1.0, < 15.2.0 | 15.2.0 | May 7, 2026 | 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. | |
| CVE-2026-40897 | Hig | 8.8 | >= 13.1.1, < 15.2.0 | 15.2.0 | Apr 24, 2026 | 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 expressio | |
| CVE-2020-7743 | — | < 7.5.1 | 7.5.1 | Oct 13, 2020 | The package mathjs before 7.5.1 are vulnerable to Prototype Pollution via the deepExtend function that runs upon configuration updates. | ||
| CVE-2017-1001003 | Cri | 9.8 | < 3.17.0 | 3.17.0 | Nov 27, 2017 | math.js before 3.17.0 had an issue where private properties such as a constructor could be replaced by using unicode characters when creating an object. | |
| CVE-2017-1001002 | Cri | 9.8 | < 3.17.0 | 3.17.0 | Nov 27, 2017 | math.js before 3.17.0 had an arbitrary code execution in the JavaScript engine. Creating a typed function with JavaScript code in the name could result arbitrary execution. |
- affected >= 13.1.0, < 15.2.0fixed 15.2.0
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 >= 13.1.1, < 15.2.0fixed 15.2.0
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 expressio
- CVE-2020-7743Oct 13, 2020affected < 7.5.1fixed 7.5.1
The package mathjs before 7.5.1 are vulnerable to Prototype Pollution via the deepExtend function that runs upon configuration updates.
- affected < 3.17.0fixed 3.17.0
math.js before 3.17.0 had an issue where private properties such as a constructor could be replaced by using unicode characters when creating an object.
- affected < 3.17.0fixed 3.17.0
math.js before 3.17.0 had an arbitrary code execution in the JavaScript engine. Creating a typed function with JavaScript code in the name could result arbitrary execution.