Code injection in math.js
Priority MEDIUM 47CWE-94Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.0 · NVD. Fix status from CNA and GitHub. Impact type from CWE-94.
Summary
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.
Why it matters now
EPSS 0.02357 83rd percentileScored 2026-11-07
Fix Fixed mathjs (npm): 3.17.0
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| math.js | math.js | 3.17.0 | — | No fix listed | CNA |
| — | mathjs (npm) | before 3.17.0 | 3.17.0 | Patch available | GHSA-vx5c-87qx-cv6c |
- math.js Vendormath.js Affected 3.17.0 Fixed in — No fix listed CNA
- mathjs (npm) Vendor— Affected before 3.17.0 Fixed in 3.17.0 Patch available GHSA-vx5c-87qx-cv6c
Remediation
- Fix · GHSA-vx5c-87qx-cv6c mathjs (npm) Fixed in 3.17.0 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2017-1001002
- 2026-10-03 Alias added: GHSA-vx5c-87qx-cv6c
References
Advisory 2
Sources
- CVE-2017-1001002 · CVE Program
- CVE-2017-1001002 · NVD
- FIRST EPSS
- GHSA-vx5c-87qx-cv6c · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences