CVE-2022-25887Published Aug 30, 2022 · Aug 30Updated Oct 28
Regular Expression Denial of Service (ReDoS)
sanitize-html
Medium5.3Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| sanitize-html npm |
|
|
Original description
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.
From the CVE record · snyk