CVE-2020-7743
HIGH 7.3CVSS 3.1Prototype Pollution in mathjs
The package mathjs before 7.5.1 are vulnerable to Prototype Pollution via the deepExtend function that runs upon configuration updates.
- Published
- 13 Oct 2020
- Last modified
- 17 Jun 2026
- Assigned by
- report@snyk.io
- NVD status
- Modified
- Weakness
- CWE-1321CWE-915
- Also known as
- GHSA-x2fc-mxcx-w4mf
- Sources
- NVDJSONOSV GHSA-x2fc-mxcx-w4mfJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | report@snyk.io (Secondary) | CVSS 3.1 | HIGH 7.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L |
| OSV | GitHub | CVSS 3.1 | HIGH 7.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L |
| 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 | mathjscpe:2.3:a:mathjs:mathjs:*:*:*:*:*:node.js:*:* |
< 7.5.1 | 7.5.1 |
| OSV | npm | mathjs | < 7.5.1 | 7.5.1 |
References
- https://github.com/josdejong/mathjs/blob/develop/src/utils/object.js%23L82 · Broken Link, Third Party Advisory, WEB
- https://github.com/josdejong/mathjs/commit/ecb80514e80bce4e6ec7e71db8ff79954f07c57e · Patch, Third Party Advisory, WEB
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARS-1017113 · Exploit, Mitigation, Third Party Advisory, WEB
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWER-1017112 · Exploit, Mitigation, Third Party Advisory, WEB
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1017111 · Exploit, Mitigation, Third Party Advisory, WEB
- https://snyk.io/vuln/SNYK-JS-MATHJS-1016401 · Exploit, Mitigation, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2020-7743 · ADVISORY
- https://github.com/josdejong/mathjs/blob/develop/HISTORY.md#2020-10-10-version-751 · WEB
- https://www.npmjs.com/package/mathjs · WEB
History
- 25 Nov 2026 20:32 UTC · NVD: first stored (published 13 Oct 2020)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 10 May 2021)