slugify@1.2.0 vulnerabilities

Slugifies a String

  • latest version

    1.6.6

  • latest non vulnerable version

  • first published

    12 years ago

  • latest version published

    1 years ago

  • licenses detected

  • Direct Vulnerabilities

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

    How to fix?

    Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.

    Fix for free
    VulnerabilityVulnerable Version
    • M
    Regular Expression Denial of Service (ReDoS)

    slugify is a package that slugifies every string.

    Affected versions of this package are vulnerable to Regular expression Denial of Service (ReDoS). It uses the following regex /^\s+|\s+$/g in order to trim whitespaces.

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

    Upgrade slugify to version 1.3.1 or higher.

    <1.3.1