CVE-2022-25887 – sanitize-html
Package
Manager: npm
Name: sanitize-html
Vulnerable Version: >=0 <2.7.1
Severity
Level: High
CVSS v3.1: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
EPSS: 0.00051 pctl0.1543
Details
Sanitize-html Vulnerable To REDoS Attacks 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.
Metadata
Created: 2022-08-31T00:00:24Z
Modified: 2024-04-22T23:16:47Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/08/GHSA-cgfm-xwp7-2cvr/GHSA-cgfm-xwp7-2cvr.json
CWE IDs: ["CWE-1333"]
Alternative ID: GHSA-cgfm-xwp7-2cvr
Finding: F211
Auto approve: 1