Sanitize-html Vulnerable To REDoS Attacks
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.
01
describes (1)
Related CVEs.
| ID | severity | exploitable | ||
|---|---|---|---|---|
| CVE-2022-25887US | high7.5 | — | ||
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 re… | ||||
02
references
External citations — patches, advisories, analysis.
- https://github.com/apostrophecms/sanitize-html/commit/b4682c12fd30e12e82fa2d9b766de91d7d2cd23cWEB
- https://github.com/apostrophecms/sanitize-html/pull/557WEB
- https://nvd.nist.gov/vuln/detail/CVE-2022-25887ADVISORY
- https://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-3008102WEB
- https://security.snyk.io/vuln/SNYK-JS-SANITIZEHTML-2957526WEB
scry
Advisories like this name the exposed products attackers go after on your perimeter. See what is exposed on your perimeter with a free passive scan.
Free scan