What’s Vulnerable › Vulnerabilities

CVE-2022-25887: Regular Expression Denial of Service (ReDoS)

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.

Affected products

How to fix

Upgrade to a fixed version: apostrophecms sanitize-html 2.7.1. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2022-25887 or the next vulnerability affects your stack