{"id":"CVE-2026-41139","published":"2026-05-07T05:06:28Z","modified":"2026-07-15T00:59:58Z","title":"Unsafe array index getter in mathjs","vendor":"josdejong","product":"mathjs","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.8,"severity":"HIGH","version":"3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00577,"percentile":0.48457,"provenance":"source"},"cwes":[{"id":"CWE-915","name":"Improperly Controlled Modification of Dynamically-Determined Object Attributes"},{"id":"CWE-94","name":"Improper Control of Generation of Code"}],"references":[{"url":"https://github.com/josdejong/mathjs/security/advisories/GHSA-5v89-rwgr-qj6g","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/josdejong/mathjs/pull/3656","tags":["x_refsource_MISC"]},{"url":"https://github.com/josdejong/mathjs/commit/0aee2f61866e35ffa0aef915221cdf6b026ffdd4","tags":["x_refsource_MISC"]},{"url":"https://github.com/josdejong/mathjs/commit/bcf0da46f0b8577ec03c9ecd7bff8b5c2543a611","tags":["x_refsource_MISC"]},{"url":"https://github.com/josdejong/mathjs/releases/tag/v15.2.0","tags":["x_refsource_MISC"]},{"url":"https://access.redhat.com/security/cve/CVE-2026-41139","tags":["vdb-entry","x_refsource_REDHAT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2467648","tags":["issue-tracking","x_refsource_REDHAT"]},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-41139.json","tags":["x_sadp-csaf-vex"]}],"priority":{"score":15.9,"factors":[{"name":"EPSS percentile","points":9.69},{"name":"CVSS severity","points":6.16}]},"vendorSlug":"josdejong","affectedVersions":[{"vendor":"josdejong","product":"mathjs","versions":[">= 13.1.0, < 15.2.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-05-07T13:41:05.634680Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"mathjs","vulnerableRanges":[">=13.1.0, <15.2.0"],"patched":["15.2.0"],"from":["GHSA-jvff-x2qm-6286"],"provenance":"source"}],"summary":{"text":"The flaw is in the expression parser of mathjs, the JavaScript math library for Node.js and browsers, affecting versions from 13.1.0 up to but not including 15.2.0. It allows arbitrary JavaScript to be executed through the parser, and the issue is fixed in 15.2.0. Based on the attack vector string, exploitation is network-reachable and needs low privileges (PR:L) with no user interaction, with the attacker needing an account or some other form of authenticated access before the parser can be abused.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:17:55Z"},"euvd":{"id":"EUVD-2026-28310","exploited":false,"provenance":"source"}}