ADVISORIES

GitHub Advisory Database

GHSA-545q-3fg6-48m7

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

Moderate CVE-2021-23346

Details

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

EcosystemPackageAffected versions
npmhtml-parse-stringify
All versions before 2.0.1 (fixed in 2.0.1)
npmhtml-parse-stringify2
All versions up to and including 2.0.1

References