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 expressions using the mathjs expression parser. This vulnerability is fixed in 15.2.0.
Metrics
Affected Vendors & Products
References
History
Tue, 28 Apr 2026 09:45:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Josdejong
Josdejong mathjs |
|
| Vendors & Products |
Josdejong
Josdejong mathjs |
Mon, 27 Apr 2026 15:00:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Mathjs
Mathjs mathjs |
|
| CPEs | cpe:2.3:a:mathjs:mathjs:*:*:*:*:*:node.js:*:* | |
| Vendors & Products |
Mathjs
Mathjs mathjs |
Fri, 24 Apr 2026 18:15:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
Fri, 24 Apr 2026 17:15:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| Description | 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 expressions using the mathjs expression parser. This vulnerability is fixed in 15.2.0. | |
| Title | Math.js: Unsafe object property setter in mathjs | |
| Weaknesses | CWE-915 | |
| References |
| |
| Metrics |
cvssV3_1
|
Status: PUBLISHED
Assigner: GitHub_M
Published:
Updated: 2026-04-24T17:44:59.520Z
Reserved: 2026-04-15T16:37:22.766Z
Link: CVE-2026-40897
Updated: 2026-04-24T17:44:56.265Z
Status : Analyzed
Published: 2026-04-24T17:16:20.783
Modified: 2026-04-27T14:47:56.323
Link: CVE-2026-40897
No data.