CVE-2022-25887
Regular Expression Denial of Service (ReDoS)
- State
- Published
- Severity
- 5.3 Medium
- Published
- Aug 30, 2022
- Updated
- Sep 17, 2024
- Reserved
- Feb 24, 2022
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 5.3 Medium | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L | snyk |
Weaknesses
The record names no weakness.
Affected Products
| Product | Versions |
|---|---|
sanitize-htmln/a |
|
References
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.