Sanitize-html Vulnerable To REDoS Attacks
High severity
GitHub Reviewed
Published
Aug 31, 2022
to the GitHub Advisory Database
•
Updated Apr 22, 2024
Description
Published by the National Vulnerability Database
Aug 30, 2022
Published to the GitHub Advisory Database
Aug 31, 2022
Last updated
Apr 22, 2024
Reviewed
Apr 22, 2024
The package sanitize-html before 2.7.1 are vulnerable to Regular Expression Denial of Service (ReDoS) due to insecure global regular expression replacement logic of HTML comment removal.
References