word-wrap@0.3.1 vulnerabilities

Wrap words to a specified length.

  • latest version

    1.2.5

  • latest non vulnerable version

  • first published

    11 years ago

  • latest version published

    2 years ago

  • licenses detected

  • Direct Vulnerabilities

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

    Affected versions of this package are vulnerable to Regular Expression Denial of Service (ReDoS) due to the usage of an insecure regular expression within the result variable.

    Note:

    The regex is vulnerable on its own, but the vulnerable function is not reachable as shipped in the package.

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

    Upgrade word-wrap to version 1.2.4 or higher.

    <1.2.4