CVE Catalog

CVE-2026-41139

HighCVSS 8.8
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.58%

44th percentile - higher than 44% of all known CVEs

Summary

The math.js library for JavaScript and Node.js versions 13.1.0 through 15.1.0 contains a vulnerability allowing arbitrary JavaScript execution via the expression parser. The issue is fixed in version 15.2.0.

Risk Assessment

An attacker can remotely execute arbitrary JavaScript code in the application context, potentially leading to server compromise, data theft, or other unauthorized actions.

Recommendation

Immediately update math.js to version 15.2.0 or later. If updating is not possible, restrict access to the expression parser to only trusted input.

Other vulnerabilities in math.js

See all
Original NVD description (English source)

Math.js is an extensive math library for JavaScript and Node.js. From version 13.1.0 to before version 15.2.0, arbitrary JavaScript can be executed via the expression parser of mathjs. This issue has been patched in version 15.2.0.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS