VDB

CVE-2019-25225

CVE-2019-25225 PUBLISHED CVSS 6.099999904632568 MEDIUM

`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.

EPSS 0.27% · 18.8th percentile

Risk Scores

CVSS 3.1
6.099999904632568
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
EPSS Score
0.27%
18.8th percentile

Affected Products

VendorProductVersions
Ubuntu:24.04:LTSnode-sanitize-html0, 2.8.0+~2.6.2-1
Ubuntu:22.04:LTSnode-sanitize-html0, 2.6.1-1
Ubuntu:25.10node-sanitize-html0, 2.14.0+~2.13.0-1

Timeline

  • Sep 8, 2025 CVE Published
  • Sep 8, 2025 EPSS Score
  • Sep 8, 2025 PoC Published
  • Sep 12, 2025 CVE Updated
  • Sep 14, 2025 PoC Published
  • Sep 16, 2025 EPSS Score
  • Sep 23, 2025 EPSS Score
  • Oct 1, 2025 EPSS Score
  • Oct 8, 2025 EPSS Score
  • Oct 16, 2025 EPSS Score
  • Oct 23, 2025 EPSS Score
  • Oct 31, 2025 EPSS Score
Open in Interactive Console →
$ Console Community · 100/wk Open console ›