CVE-2022-25887
Medium
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.
SeverityMedium
CVSS5.3
Exploit probability—
Product
Apostrophecms Sanitize-html
PublishedAug 30, 2022
First seenAug 30, 2022
How to fix
Update
- apostrophecms sanitize-html2.7.1 or later
- sanitize-html2.7.1 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| apostrophecms sanitize-html | v < 2.7.1 | 2.7.1 |
| sanitize-htmlnpm | v < 2.7.1 | 2.7.1 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
In the Intelligence 360 plan
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.