Regular Expression Denial of Service in bleach
Moderate severity
GitHub Reviewed
Published
Sep 1, 2020
to the GitHub Advisory Database
•
Updated Jan 9, 2023
Description
Reviewed
Aug 31, 2020
Published to the GitHub Advisory Database
Sep 1, 2020
Last updated
Jan 9, 2023
All versions of the
bleach
package are vulnerable to a regular expression denial of service attack when certain types of input are passed into the sanitize function.Recommendation
The
bleach
package is not currently maintained, and has not seen an update since 2014.To mitigate this issue, it is necessary to use an alternative module that is actively maintained and provides similar functionality. There are multiple modules fitting this criteria available on npm..
References