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.
{
"severity": "HIGH",
"nvd_published_at": "2022-08-30T05:15:00Z",
"github_reviewed_at": "2024-04-22T23:16:47Z",
"github_reviewed": true,
"cwe_ids": [
"CWE-1333"
]
}