Live threats

All CVEs / Mathjs

CVE-2020-7743Mathjs

High 7.3 No auth needed

Priority
59
CVSS 3.1
7.3
EPSS
3.9%
probability of exploitation in 30 days · percentile 91
Auth required
No
Published
Oct 13, 2020
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-1321
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L

What happens

The package mathjs before 7.5.1 are vulnerable to Prototype Pollution via the deepExtend function that runs upon configuration updates.

Original NVD text.

What to do

  1. Apply the vendor's security update for Mathjs.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm mathjs < 7.5.1 7.5.1 npm install mathjs@7.5.1

Per OSV / GitHub Advisories (GHSA-x2fc-mxcx-w4mf). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
mathjsmathjs< 7.5.1

Official sources

References

Links published by the sources. Open them with care.

  • github.com Broken Link Third Party Advisory
  • github.com Patch Third Party Advisory
  • snyk.io Exploit Mitigation Third Party Advisory
  • snyk.io Exploit Mitigation Third Party Advisory
  • snyk.io Exploit Mitigation Third Party Advisory
  • snyk.io Exploit Mitigation Third Party Advisory