Skip to content
5.3 Medium

CVE-2022-25887 The package sanitize-html before 2.7.1 are vulnerable to Regular Expression Denial of Service (ReDoS) due to insecure…

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.

Affected products and versions

Product Affected versions Fixed in
sanitize-html 2.7 earliest → < 2.7.1 2.7.1
The 2 CVEs of sanitize-html →
Track this CVE