mathjs@14.8.2

Math.js is an extensive math library for JavaScript and Node.js. It features a flexible expression parser with support for symbolic computation, comes with a large set of built-in functions and constants, and offers an integrated solution to work with dif

  • latest version

    15.2.0

  • latest non vulnerable version

  • first published

    13 years ago

  • latest version published

    13 days ago

  • licenses detected

  • Direct Vulnerabilities

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

    Fix vulnerabilities automatically

    Snyk's AI Trust Platform automatically finds the best upgrade path and integrates with your development workflows. Secure your code at zero cost.

    Fix for free
    VulnerabilityVulnerable Version
    • H
    Improperly Controlled Modification of Dynamically-Determined Object Attributes

    mathjs is a math library for JavaScript and Node.js. It features a flexible expression parser with support for symbolic computation, comes with a large set of built-in functions and constants, and offers an integrated solution to work with diff.

    Affected versions of this package are vulnerable to Improperly Controlled Modification of Dynamically-Determined Object Attributes in the getSafeProperty() of the expression parser. An attacker can execute arbitrary JavaScript code by submitting crafted expressions for evaluation.

    How to fix Improperly Controlled Modification of Dynamically-Determined Object Attributes?

    Upgrade mathjs to version 15.2.0 or higher.

    >=13.1.1 <15.2.0
    • H
    Improperly Controlled Modification of Dynamically-Determined Object Attributes

    mathjs is a math library for JavaScript and Node.js. It features a flexible expression parser with support for symbolic computation, comes with a large set of built-in functions and constants, and offers an integrated solution to work with diff.

    Affected versions of this package are vulnerable to Improperly Controlled Modification of Dynamically-Determined Object Attributes via the expression parser. An attacker can execute arbitrary JavaScript code by sending malicious expressions for evaluation.

    How to fix Improperly Controlled Modification of Dynamically-Determined Object Attributes?

    Upgrade mathjs to version 15.2.0 or higher.

    <15.2.0