ADVISORIES

GitHub Advisory Database

GHSA-cgfm-xwp7-2cvr

Sanitize-html Vulnerable To REDoS Attacks

Details

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 packages

EcosystemPackageAffected versions
npmsanitize-html
All versions before 2.7.1 (fixed in 2.7.1)

References