{"id":"EUVD-2026-25571","enisaUuid":"e39e452a-cc19-34d9-83e6-cf6b1988687f","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.","datePublished":"Apr 24, 2026, 4:48:34 PM","dateUpdated":"Jul 15, 2026, 1:00:27 AM","baseScore":8.8,"baseScoreVersion":"3.1","baseScoreVector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","references":"https://github.com/josdejong/mathjs/security/advisories/GHSA-29qv-4j9f-fjw5\nhttps://github.com/josdejong/mathjs/pull/3656\nhttps://github.com/josdejong/mathjs/commit/513ab2a0e01004af91b31aada68fae8a821326ad\n","aliases":"CVE-2026-40897\nGHSA-29qv-4j9f-fjw5\n","assigner":"GitHub_M","epss":0.55,"enisaIdProduct":[{"id":"7f8101cf-3104-3c61-a89d-a9cdbe5a72ea","product":{"name":"mathjs","vendor":{"name":"josdejong"}},"product_version":"13.1.1, \u003c 15.2.0"}],"enisaIdVendor":[{"id":"acf79c68-7b14-3ad3-b3b7-af95619afd11","vendor":{"name":"josdejong"}}],"enisaIdVulnerability":[{"id":"4dda4535-6be6-3b42-9c69-4dc1baeb23bb","vulnerability":{"id":"CVE-2026-40897","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.","datePublished":"Apr 24, 2026, 4:48:34 PM","dateUpdated":"Jul 15, 2026, 1:00:27 AM","status":"PUBLISHED","baseScore":8.8,"baseScoreVersion":"3.1","baseScoreVector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","references":"https://github.com/josdejong/mathjs/security/advisories/GHSA-29qv-4j9f-fjw5\nhttps://github.com/josdejong/mathjs/pull/3656\nhttps://github.com/josdejong/mathjs/commit/513ab2a0e01004af91b31aada68fae8a821326ad\n","enisa_id":"EUVD-2026-25571\n","assigner":"GitHub_M","epss":0.55,"dataProcessed":"Oct 27, 2026, 7:16:48 AM","vulnerabilityProduct":[{"id":"fe799299-c49c-32ab-a98d-f5a55176d374","product":{"name":"mathjs","vendor":{"name":"josdejong"}},"product_version":"13.1.1, \u003c 15.2.0"}],"vulnerabilityVendor":[{"id":"064c8cdb-d607-3d15-8f81-8e923b3e5b3e","vendor":{"name":"josdejong"}}]}},{"id":"810a047d-c58e-31e5-989b-3e508244a0c1","vulnerability":{"id":"GHSA-29qv-4j9f-fjw5","description":"Unsafe object property setter in mathjs","datePublished":"Apr 16, 2026, 10:38:43 PM","dateUpdated":"Apr 27, 2026, 4:43:11 PM","baseScore":0.0,"references":"https://github.com/josdejong/mathjs/security/advisories/GHSA-29qv-4j9f-fjw5\nhttps://nvd.nist.gov/vuln/detail/CVE-2026-40897\nhttps://github.com/josdejong/mathjs/pull/3656\nhttps://github.com/josdejong/mathjs/commit/513ab2a0e01004af91b31aada68fae8a821326ad\nhttps://github.com/josdejong/mathjs\n","enisa_id":"EUVD-2026-25571\n","aliases":"CVE-2026-40897\nGHSA-29qv-4j9f-fjw5\n","epss":0.0,"dataProcessed":"Oct 25, 2026, 1:55:10 AM","vulnerabilityProduct":[],"vulnerabilityVendor":[]}}],"enisaIdAdvisory":[]}