org.webjars.npm:mathjs@3.16.5 vulnerabilities

Direct Vulnerabilities

Known vulnerabilities in the org.webjars.npm:mathjs package. This does not include vulnerabilities belonging to this package’s dependencies.

Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.
Fix for free
Vulnerability Vulnerable Version
  • H
Prototype Pollution

Affected versions of this package are vulnerable to Prototype Pollution via the deepExtend function that runs upon configuration updates.

How to fix Prototype Pollution?

Upgrade org.webjars.npm:mathjs to version 9.4.4 or higher.

[,9.4.4)
  • H
Arbitrary Code Execution

mathjs is an extensive math library for JavaScript and Node.js

Affected versions of the package are vulnerable to Arbitrary Code Execution via typed-function. A malicious user could possibly execute arbitrary code in the JavaScript engine, by creating a typed function with JavaScript code in the name.

How to fix Arbitrary Code Execution?

Upgrade mathjs to version 3.17.0 or higher.

[,3.17.0)
  • C
Arbitrary Code Execution

mathjs is an extensive math library for JavaScript and Node.js

Affected versions of the package are vulnerable to Arbitrary Code Execution. Forbidden properties like constructor could be replaced by using unicode characters when creating an object.

How to fix Arbitrary Code Execution?

Upgrade mathjs to version 3.17.0 or higher.

[,3.17.0)