VULNERABILITY INTELLIGENCE
CVE-2022-25887
CVSS score5.3 MEDIUM
EPSS probability1.55%
CISA KEVNot currently listed
Published2022-08-30
Last modified2026-06-17
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Description
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.
Weakness classification
- CWE-1333: Inefficient Regular Expression Complexity
Primary references
- report@snyk.io — Patch, Third Party Advisory
- report@snyk.io — Issue Tracking, Patch, Third Party Advisory
- report@snyk.io — Patch, Third Party Advisory
- report@snyk.io — Patch, Third Party Advisory
- af854a3a-2127-422b-91ae-364da2661108 — Patch, Third Party Advisory
- af854a3a-2127-422b-91ae-364da2661108 — Issue Tracking, Patch, Third Party Advisory
- af854a3a-2127-422b-91ae-364da2661108 — Patch, Third Party Advisory
- af854a3a-2127-422b-91ae-364da2661108 — Patch, Third Party Advisory