ADVISORIES

Vulnerability

CVE-2022-25887

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.

4 advisories report this vulnerability, across 3 ecosystems.

Medium severity All Ubuntu 2Debian 1npm 1

Advisories in Debian

  • DEBIAN-CVE-2022-25887

    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.

    CVE-2022-25887 Debian Updated 20 November 2026

References