NetSight
medium5.3

CVE-2021-23346

html-parse-stringify and html-parse-stringify2 vulnerable to Regular expression denial of service (ReDoS)

Impact

This affects the package html-parse-stringify before 2.0.1; all versions of package html-parse-stringify2. Sending certain input could cause one of the regular expressions that is used for parsing to backtrack, freezing the process.

Affected packages

EcosystemPackageAffectedFixed in
npmhtml-parse-stringify< 2.0.12.0.1
npmhtml-parse-stringify2<= 2.0.1none recorded

Affected products

VendorProductAffected versions
Html-Parse-Stringify ProjectHtml-Parse-Stringify
before 2.0.1

Weakness classification

References