CVE-2019-25225

EUVD-2019-19375
`sanitize-html` prior to version 2.0.0-beta is vulnerable to Cross-site Scripting (XSS). The `sanitizeHtml()` function in `index.js` does not sanitize content when using the custom `transformTags` option, which is intended to convert attribute values into text. As a result, malicious input can be transformed into executable code.
Cross-site Scripting
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTPrimary
6.1 MEDIUM
NETWORK
LOW
NONE
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Base Score
CVSS 3.x
EPSS Score
Percentile: 20.72%
Affected Products (NVD)
VendorProductVersion
apostrophecmssanitize-html
𝑥
< 2.0.0
𝑥
= Vulnerable software versions
Debian logo
Debian Releases
Debian Product
Codename
node-sanitize-html
bookworm
2.8.0+~2.6.2-1
fixed
forky
2.17.0+~2.16.1-1
fixed
sid
2.17.0+~2.16.1-1
fixed
trixie
2.14.0+~2.13.0-1
fixed
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
node-sanitize-html
jammy
needs-triage
noble
needs-triage
plucky
ignored
questing
ignored
resolute
needs-triage