mocha@7.2.0 vulnerabilities

simple, flexible, fun test framework

  • latest version

    11.7.4

  • latest non vulnerable version

  • first published

    13 years ago

  • latest version published

    17 days ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the mocha 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
    Regular Expression Denial of Service (ReDoS)

    mocha is a javascript test framework for node.js & the browser.

    Affected versions of this package are vulnerable to Regular Expression Denial of Service (ReDoS) in the clean function in utils.js.

    How to fix Regular Expression Denial of Service (ReDoS)?

    Upgrade mocha to version 10.1.0 or higher.

    <10.1.0