html-parse-stringify and html-parse-stringify2 vulnerable to Regular expression denial of service (ReDoS)
Moderate severity
GitHub Reviewed
Published
Mar 18, 2021
to the GitHub Advisory Database
•
Updated Sep 12, 2023
Description
Published by the National Vulnerability Database
Mar 4, 2021
Reviewed
Mar 12, 2021
Published to the GitHub Advisory Database
Mar 18, 2021
Last updated
Sep 12, 2023
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