{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2017-1001002","id":"CVE-2017-1001002","title":"Arbitrary Code Execution in mathjs","description":"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.","descriptionLong":"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.","published":"2017-11-27T14:00:00.000Z","updated":"2026-10-20T10:48:01.103225376Z","reserved":"2017-11-27T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"joshbressers","metric":{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"NVD"},"metrics":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"NVD"},{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"OSV"},{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"GitHub"},{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","rating":"high","source":"NVD"}],"rating":"critical","products":["math.js"],"affectedProducts":[{"vendor":"math.js","product":"math.js","defaultStatus":null,"versions":[{"status":"affected","version":"3.17.0"}],"platforms":[]}],"packages":[{"ecosystem":"npm","name":"mathjs","purl":"pkg:npm/mathjs","ranges":["<3.17.0"],"fixed":["3.17.0"],"advisory":"GHSA-vx5c-87qx-cv6c"}],"cwes":["CWE-94"],"aliases":["GHSA-vx5c-87qx-cv6c"],"references":[{"url":"https://github.com/josdejong/mathjs/blob/master/HISTORY.md#2017-11-18-version-3170","tags":["x_refsource_CONFIRM","x_transferred","web"]},{"url":"https://github.com/josdejong/mathjs/commit/8d2d48d81b3c233fb64eb2ec1d7a9e1cf6a55a90","tags":["x_refsource_CONFIRM","x_transferred","fix","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2017-1001002","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-vx5c-87qx-cv6c","tags":["advisory"]},{"url":"https://www.npmjs.com/advisories/552","tags":["web"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.02357,"epssPercentile":0.84085,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2017-1001002","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2017-1001002","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2017-1001002","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-vx5c-87qx-cv6c","ok":true,"note":"GHSA-vx5c-87qx-cv6c"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2017-1001002","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}