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

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.

Fix

DoS

Weakness Enumeration

Related Identifiers

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

Affected Products

Linuxmint
Ubuntu
Sanitize-Html