~ / search / GHSA-545q-3fg6-48m7

GHSA-545q-3fg6-48m7

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

Source: GitHub Advisory Database (reviewed) Moderate CVE-2021-23346

Packages

EcosystemPackageAffectedFixed in
npm html-parse-stringify < 2.0.1 2.0.1
npm html-parse-stringify2 <= 2.0.1 no fix listed

Details

As written in the advisory (Markdown source, shown as plain text).

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.

References

External links from the advisory. They lead to third-party sites.