VulnerabilityGLOBAL

CVE-2026-40897: Math.js is an extensive math library for JavaScript and Node.js. From 13.1.1 to before 15.2.0, a vulnerability allowed e…

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.

Published by source
2026-04-24
First seen by Reality Radar
2026-10-27
Last verified
2026-10-27

Affected

Manufacturer
mathjs
Products
mathjs
Versions
<15.2.0
CPE
cpe:2.3:a:mathjs:mathjs:*:*:*:*:*:node.js:*:*

Whether your exact unit is affected depends on the model, serial number and region in the official notice.

What the official notice says

Risk: CVSS 8.8

Is this affecting you?

Add what you own or use and Reality Radar will tell you when official changes match it — with evidence and next steps.

Track it free

Sources

Evidence ledger

Every piece of evidence we store is appended to a public hash chain, so later edits are detectable. Anyone can re-verify it.

EntryKindObservedEvidence hashEntry hash
#2155new2026-10-2775cf1ee2332b…ae121f25d2c09fbf9c…96854b

Chain head: #2286 e212558e872c…954bc1

Raw ledger entries (JSON) · Verify chain

Share this signal