VDB
Sign up
MEDIUM5.3

GHSA-mvmf-cvfx-qg55

Regular Expression Denial of Service in bleach

Details

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.](https://www.npmjs.com/search?q=html%20sanitizer&page=1&ranking=optimal).

Are you affected?

Enter the version of the package you're using.

Affected packages

npm/bleach
Introduced in: 0.0.0

No fixed version published yet for bleach (npm). Pin to a known-safe version or switch to an alternative.

References