{"id":"CVE-2017-1001002","aliases":["GHSA-vx5c-87qx-cv6c"],"url":"https://o3.security/vulnerability/CVE-2017-1001002","summary":"Arbitrary Code Execution in mathjs","details":"math.js before 3.17.0 had an arbitrary code execution in the JavaScript engine. Creating a typed function with JavaScript code in the name could result arbitrary execution.\n\n\n## Recommendation\n\nUpdate to version 3.17.0 or later.","published":"2017-11-27T14:29:00.240Z","modified":"2026-07-08T12:05:27.368800Z","cvss":{"score":9.8,"severity":"CRITICAL","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"npm","name":"mathjs","fixedVersion":"3.17.0"}],"fix":{"url":"https://github.com/josdejong/mathjs/commit/8d2d48d81b3c233fb64eb2ec1d7a9e1cf6a55a90","label":"josdejong/mathjs@8d2d48d"},"references":[{"type":"WEB","url":"https://github.com/josdejong/mathjs/blob/master/HISTORY.md#2017-11-18-version-3170"},{"type":"FIX","url":"https://github.com/josdejong/mathjs/commit/8d2d48d81b3c233fb64eb2ec1d7a9e1cf6a55a90"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2017-1001002"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-vx5c-87qx-cv6c"},{"type":"WEB","url":"https://www.npmjs.com/advisories/552"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-07-08T12:05:27.368800Z"}}