PT-2022-17586 · Unknown+2 · Sanitize-Html+2

·

CVE-2022-25887

·

Published

2022-08-30

·

Updated

2026-06-04

CVSS v3.1

7.5

High

VectorAV: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.

Exploit

Fix

DoS

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2022-25887
GHSA-CGFM-XWP7-2CVR
USN-7464-1

Affected Products

Linuxmint
Ubuntu
Sanitize-Html