CVE-2022-25887

EUVD-2022-6537
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.
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTPrimary
5.3 MEDIUM
NETWORK
LOW
NONE
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
snykCNA
5.3 MEDIUM
NETWORK
LOW
NONE
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Base Score
CVSS 3.x
EPSS Score
Percentile: 63%
Affected Products (NVD)
VendorProductVersion
apostrophecmssanitize-html
𝑥
< 2.7.1
𝑥
= Vulnerable software versions
Debian logo
Debian Releases
Debian Product
Codename
node-sanitize-html
bookworm
2.8.0+~2.6.2-1
fixed
sid
2.13.1+~2.13.0-1
fixed
trixie
2.13.1+~2.13.0-1
fixed
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
jupyter-notebook
bionic
needs-triage
focal
needs-triage
jammy
needs-triage
kinetic
ignored
lunar
ignored
mantic
ignored
noble
needs-triage
trusty
dne
xenial
dne
node-sanitize-html
bionic
dne
focal
dne
jammy
needs-triage
kinetic
ignored
lunar
ignored
mantic
ignored
noble
needs-triage
trusty
dne
xenial
dne