GitHub Advisoryadvisory · npm
GHSA-mvmf-cvfx-qg55 Regular Expression Denial of Service in bleach
MEDIUM
Official page ↗
- Aliases
- CVE-2014-8881
- Ecosystem
- npm
- Packages
- bleach
- Severity
- Moderate
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
- Weaknesses
- CWE-400
- Reviewed
- 2020-08-31
Affected packages
• npm bleach: >= 0.0.0 (no fix yet)
Description
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..
Related
Alias · not in database (1)
Weakness · CWE (1)
- CWE-400 Uncontrolled Resource Consumption weakness