Skip to content
OpenAdvisories

Package · npm

mathjs

5 known vulnerabilities.

5 results · Feed

  • High 8.8

    Unsafe array index getter in mathjs

    Math.js is an extensive math library for JavaScript and Node.js. From version 13.1.0 to before version 15.2.0, arbitrary JavaScript can be executed via the expression parser of mathjs. This issue has been patched in version 15.2.0.

  • High 8.8
    CVE-2026-40897 Public exploit

    Math.js: Unsafe object property setter in mathjs

    Math.js is an extensive math library for JavaScript and Node.js. From 13.1.1 to before 15.2.0, a vulnerability allowed executing arbitrary JavaScript via the expression parser of mathjs. You can be affected when you have an application where users can evaluat…

  • High 7.3

    Prototype Pollution

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

  • Critical 9.8

    Arbitrary Code Execution in mathjs

    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.

  • Critical 9.8

    Arbitrary Code Execution in mathjs

    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.