html-parse-stringify@1.0.3 vulnerabilities

Parses well-formed HTML (meaning all tags closed) into an AST and back. quickly.

Direct Vulnerabilities

Known vulnerabilities in the html-parse-stringify package. This does not include vulnerabilities belonging to this package’s dependencies.

Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.
Fix for free
Vulnerability Vulnerable Version
  • M
Regular Expression Denial of Service (ReDoS)

html-parse-stringify is a https://github.com/henrikjoreteg/html-parse-stringify

Affected versions of this package are vulnerable to Regular Expression Denial of Service (ReDoS). Sending certain input could cause one of the regular expressions that is used for parsing to backtrack, freezing the process.

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

Upgrade html-parse-stringify to version 2.0.1 or higher.

<2.0.1