cbcvebase.
CVE-2022-25887
published 2022-08-30

CVE-2022-25887: The package sanitize-html before 2.7.1 are vulnerable to Regular Expression Denial of Service (ReDoS) due to insecure global regular expression replacement…

PriorityP434high7.5CVSS 3.1
AVNACLPRNUINSUCNINAH
EPSS
1.15%
62.9th percentile
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.

Affected

4 ranges
VendorProductVersion rangeFixed in
apostrophecmssanitize-html< 2.7.12.7.1
apostrophecmssanitize-html>= 0 < 2.7.12.7.1
apostrophecmssanitize-html>= unspecified < 2.7.12.7.1
debiannode-sanitize-html< node-sanitize-html 2.7.1+~2.6.2-1 (bookworm)node-sanitize-html 2.7.1+~2.6.2-1 (bookworm)

CVSS provenance

nvdv3.17.5HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
osv7.5HIGH
vendor_debian5.3MEDIUM
vendor_redhat5.3MEDIUM
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.