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
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 : Awaiting Analysis
Published: 2026-04-24T17:16:20.783
Modified: 2026-04-24T17:56:41.280
Link: CVE-2026-40897
No data.
OpenCVE Enrichment
No data.