Improper input validation in math.js
Priority MEDIUM 45CWE-88Published · 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-88.
Summary
math.js before 3.17.0 had an issue where private properties such as a constructor could be replaced by using unicode characters when creating an object.
Why it matters now
EPSS 0.01689 77th 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-pv8x-p9hq-j328 |
- 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-pv8x-p9hq-j328
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:mathjs_project:mathjs:*:*:*:*:*:*:*:* | before 3.17.0 | Vulnerable | Mathjs Project |
- cpe:2.3:a:mathjs_project:mathjs:*:*:*:*:*:*:*:* Versions before 3.17.0 Vulnerable ·Mathjs Project
Remediation
- Fix · GHSA-pv8x-p9hq-j328 mathjs (npm) Fixed in 3.17.0 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2017-1001003
- 2026-10-03 Alias added: GHSA-pv8x-p9hq-j328
References
Advisory 2
More math.js vulnerabilities
- TI-2017-14722 Code injection in math.js CVSS 3.0CRITICAL 9.8
- TI-2026-29767 Unsafe array index getter in mathjs CVSS 3.0HIGH 8.8
- TI-2026-29553 Math.js: Unsafe object property setter in mathjs CVSS 3.1HIGH 8.8
- TI-2020-06261 Prototype pollution in mathjs CVSS 3.1HIGH 7.3
Sources
- CVE-2017-1001003 · CVE Program
- CVE-2017-1001003 · NVD
- FIRST EPSS
- GHSA-pv8x-p9hq-j328 · 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