htmllint@0.0.2 vulnerabilities

An unofficial html5 linter.

  • latest version

    0.8.0

  • latest non vulnerable version

  • first published

    10 years ago

  • latest version published

    5 years ago

  • licenses detected

  • Direct Vulnerabilities

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

    htmllint is an unofficial html5 linter and validator.

    Affected versions of this package are vulnerable to Regular Expression Denial of Service (ReDoS) attacks. It used a regular expression (/^([a-z][a-z\d]*(-[a-z\d]+)*(--[a-z\d]+)*(__[a-z\d]+)*)+$/) in order to validate data URLs. This can cause an impact of about 10 seconds matching time for data 15 characters long.

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

    Upgrade htmllint to version 0.7.2 or higher.

    <0.7.2