PT-2022-17586 · Unknown+2 · Sanitize-Html+2
Nariyoshi Chida
·
Published
2022-08-30
·
Updated
2025-12-23
·
CVE-2022-25887
CVSS v3.1
7.5
High
| Vector | AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Name of the Vulnerable Software and Affected Versions
sanitize-html versions prior to 2.7.1
Description
The issue is related to Regular Expression Denial of Service (ReDoS) due to insecure global regular expression replacement logic of HTML comment removal.
Recommendations
For versions prior to 2.7.1, update to version 2.7.1 or later to resolve the issue.
Fix
DoS
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Linuxmint
Ubuntu
Sanitize-Html