CVE-2026-40897HIGH 8.8EPSS p35.0%
CVE-2026-40897CVE-2026-40897
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.
Scoring
| CVSS 3.1 | 8.8 (HIGH) |
| Vector | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| EPSS | 0.44% probability of exploitation · percentile 35.0% · 2026-06-19T12:03:05Z |
| Published | 2026-04-24 |
| Last modified | 2026-04-27 |
Underlying weaknesses· 1
References
1
| Type | Target | Confidence | Tier |
|---|---|---|---|
| Weakness | Improperly Controlled Modification of Dynamically-Determined Object Attributescwe-915 | 0% | live |
Related by meaning· 6
Nearest entities by semantic similarity across the cs-graph corpus.