Affected versions
- Affected versions
- *
- Fixed version
- Not reported
- Affected versions
- *
- Fixed version
- Not reported
Ubuntu25.10/jupyter-notebook
- Affected versions
- *
- Fixed version
- Not reported
Ubuntu25.10/node-sanitize-html
- Affected versions
- *
- Fixed version
- Not reported
- Affected versions
- *
- Fixed version
- Not reported
Ubuntu26.10/jupyter-notebook
- Affected versions
- *
- Fixed version
- Not reported
Ubuntu26.10/node-sanitize-html
- Affected versions
- *
- Fixed version
- Not reported
- Affected versions
- <6.4.8-1ubuntu0.1+esm1
- Fixed version
- 6.4.8-1ubuntu0.1+esm1
- Affected versions
- <6.4.12-2.2ubuntu1+esm1
- Fixed version
- 6.4.12-2.2ubuntu1+esm1
Description
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.
Links
- https://github.com/apostrophecms/sanitize-html/commit/b4682c12fd30e12e82fa2d9b766de91d7d2cd23c
- https://github.com/apostrophecms/sanitize-html/pull/557
- https://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-3008102
- https://security.snyk.io/vuln/SNYK-JS-SANITIZEHTML-2957526
- https://ubuntu.com/security/CVE-2022-25887
- https://ubuntu.com/security/notices/USN-7464-1
- https://www.cve.org/CVERecord?id=CVE-2022-25887

