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

  • 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
  • GHSA-cgfm-xwp7-2cvr

    Sanitize-html Vulnerable To REDoS Attacks

    High CVE-2022-25887 npm Updated 22 April 2024
  • UBUNTU-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 Ubuntu Updated 4 November 2026
  • USN-7464-1

    jupyter-notebook vulnerability

    CVE-2022-25887 Ubuntu Updated 27 April 2026

References