CVE-2022-25887: Apostrophecms Sanitize-Html
High severity, CVSS 7.5. EPSS: 1.5% chance of exploitation in the next 30 days.
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 products
- Apostrophecms Sanitize-Html: before 2.7.1 (fixed in 2.7.1)
Published 2022-08-30. Last modified 2026-06-17.