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.

Project Subscriptions

Vendors Products
Josdejong Subscribe
Advisories
Source ID Title
Github GHSA Github GHSA GHSA-jvff-x2qm-6286 mathjs Allows Improperly Controlled Modification of Dynamically-Determined Object Attributes
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Fri, 08 May 2026 17:15:00 +0000

Type Values Removed Values Added
First Time appeared Mathjs
Mathjs mathjs
CPEs cpe:2.3:a:mathjs:mathjs:*:*:*:*:*:node.js:*:*
Vendors & Products Mathjs
Mathjs mathjs

Fri, 08 May 2026 00:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-94
References
Metrics threat_severity

None

cvssV3_1

{'score': 8.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}

threat_severity

Important


Thu, 07 May 2026 15:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Thu, 07 May 2026 08:00:00 +0000

Type Values Removed Values Added
First Time appeared Josdejong
Josdejong mathjs
Vendors & Products Josdejong
Josdejong mathjs

Thu, 07 May 2026 05:30:00 +0000

Type Values Removed Values Added
Description 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.
Title Unsafe array index getter in mathjs
Weaknesses CWE-915
References
Metrics cvssV3_0

{'score': 8.8, 'vector': 'CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}


Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-05-07T13:41:40.987Z

Reserved: 2026-04-17T12:59:15.738Z

Link: CVE-2026-41139

cve-icon Vulnrichment

Updated: 2026-05-07T13:41:15.362Z

cve-icon NVD

Status : Analyzed

Published: 2026-05-07T06:16:04.273

Modified: 2026-05-08T17:06:03.997

Link: CVE-2026-41139

cve-icon Redhat

Severity : Important

Publid Date: 2026-05-07T05:06:28Z

Links: CVE-2026-41139 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-05-08T02:00:06Z

Weaknesses