org.webjars.npm:html-dom-parser@5.1.1 vulnerabilities

  • latest version

    5.1.1

  • first published

    1 months ago

  • latest version published

    1 months ago

  • licenses detected

  • package registry

  • Direct Vulnerabilities

    Known vulnerabilities in the org.webjars.npm:html-dom-parser 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
    • L
    Regular Expression Denial of Service (ReDoS)

    org.webjars.npm:html-dom-parser is a HTML to DOM parser that works on both the server and client.

    Affected versions of this package are vulnerable to Regular Expression Denial of Service (ReDoS). It used a regular expression (/<head[\s\S]*>[\s\S]*<\/head>/ and /<body[\s\S]*>[\s\S]*<\/body>/) in order to find html tags. This can cause an impact of about 10 seconds matching time for data 65K characters long.

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

    A fix was pushed into the master branch but not yet published.

    [0,)