HOMEVULNERABILITIESCVE-2026-40897
HIGH

CVE-2026-40897

CWE-915Published: April 24, 2026· Updated: Apr 27, 2026

8.8
CVSS v3.1
EPSS:0.08%probability of exploitation in 30 daysPercentile:23.9th

Official 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.

NVD Source

Technical Analysis

CVE-2026-40897 can be exploited remotely over the network without requiring physical or adjacent access, significantly expanding the attack surface for threat actors.

Exploitation requires low privileges, which limits the exposure to scenarios where an attacker has already gained initial access.

A successful exploit results in complete confidentiality breach (data exposure), full integrity compromise (data manipulation), availability disruption (denial of service), with a CVSS base score of 8.8.

CVSS v3.1 Vector Breakdown

Exploitability
Attack VectorNetwork
Attack ComplexityLow
Privileges Req.Low
User InteractionNone
ScopeUnchanged
Impact
ConfidentialityHigh
IntegrityHigh
AvailabilityHigh
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected Vendors & Products

mathjs1 product
mathjs
Source: NVD CPE · 1 total CPE entries

Exploit & PoC Resources

NO KNOWN EXPLOITNo public exploit confirmed at this time
External links open in a new tab. Always verify in a controlled environment before use.

Official Patches & Advisories

All References (3)

Quick Facts

CVE IDCVE-2026-40897
CVSS Score8.8 / 10
SeverityHIGH
WeaknessCWE-915
CISA KEVNo
EPSS (30d)0.08%
Affected1 vendor
PublishedApr 24, 2026

Related CVEs (CWE-915)

Recommended Actions

  • Apply vendor patches immediately
  • Monitor CVE-2026-40897 in threat intel feeds
  • Review IDS/IPS signatures for exploitation attempts
Data sourced from NVD (NIST), CISA KEV, and EPSS (FIRST). Analysis generated by CTIWATCH.COM. CVE data is provided under the NVD usage policy.