HarborGuard / CVE
Back to search
HIGHCVE-2026-40897Published Modified CNA GitHub_M

CVE-2026-40897: Math.js: Unsafe object property setter in mathjs

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

CVSS v3.1
8.8
Severity
HIGH
Fixed in
Affected Products
1
Affected packages
  • josdejong / mathjs
    >= 13.1.1, < 15.2.0
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVE-2026-40897: Math.js: Unsafe object property setter in mathjs | HarborGuard CVE