CVE-2017-1001002
CRITICAL 9.8CVSS 3.0Arbitrary Code Execution in mathjs
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
- 27 Nov 2017
- Last modified
- 17 Jun 2026
- Assigned by
- 46fe6300-5254-4a98-9594-a9567bec8179
- NVD status
- Modified
- Weakness
- CWE-94
- Also known as
- GHSA-vx5c-87qx-cv6c
- Sources
- NVDJSONOSV GHSA-vx5c-87qx-cv6cJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.0 | CRITICAL 9.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.0 | CRITICAL 9.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | HIGH 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | mathjs | math.jscpe:2.3:a:mathjs:math.js:*:*:*:*:*:*:*:* |
<= 3.17.0 | |
| OSV | npm | mathjs | < 3.17.0 | 3.17.0 |
References
- https://github.com/josdejong/mathjs/blob/master/HISTORY.md#2017-11-18-version-3170 · WEB
- https://github.com/josdejong/mathjs/commit/8d2d48d81b3c233fb64eb2ec1d7a9e1cf6a55a90 · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2017-1001002 · ADVISORY
- https://github.com/advisories/GHSA-vx5c-87qx-cv6c · ADVISORY
- https://www.npmjs.com/advisories/552 · WEB
History
- 25 Nov 2026 20:20 UTC · NVD: first stored (published 27 Nov 2017)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 18 Dec 2017)