CVE-2022-25887
Dashboard / Vulnerabilities / CVE-2022-25887
Summary: Regular Expression Denial of Service (ReDoS)
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.
References: https://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-3008102, https://security.snyk.io/vuln/SNYK-JS-SANITIZEHTML-2957526, https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/25xxx/CVE-2022-25887.json, https://nvd.nist.gov/vuln/detail/CVE-2022-25887, https://github.com/apostrophecms/sanitize-html/commit/b4682c12fd30e12e82fa2d9b766de91d7d2cd23c, https://github.com/apostrophecms/sanitize-html/pull/557
Affected packages
Package
Name:
Purl:
Affected ranges
Affected versions
2.5.3
2.5.2
2.5.1
2.5.0
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
