ADVISORIES

Ubuntu CVE Tracker

UBUNTU-CVE-2022-25887

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
Ubuntu:22.04:LTSnode-sanitize-html
All versions, no fix listed
Ubuntu:Pro:22.04:LTSjupyter-notebook
All versions before 6.4.8-1ubuntu0.1+esm1 (fixed in 6.4.8-1ubuntu0.1+esm1)
Ubuntu:24.04:LTSnode-sanitize-html
All versions, no fix listed
Ubuntu:Pro:24.04:LTSjupyter-notebook
All versions before 6.4.12-2.2ubuntu1+esm1 (fixed in 6.4.12-2.2ubuntu1+esm1)
Ubuntu:25.10jupyter-notebook
All versions, no fix listed
Ubuntu:25.10node-sanitize-html
All versions, no fix listed
Ubuntu:26.10jupyter-notebook
All versions, no fix listed
Ubuntu:26.10node-sanitize-html
All versions, no fix listed
Ubuntu:26.04:LTSnode-sanitize-html
All versions, no fix listed

References