CVE-2019-25225
CVSS v3
6.1
MEDIUM
EPSS Score
0.3 %
exploit probability, as of 2026-10-19
CISA KEV
No
known exploited
Exploitation
—
SSVC status
Get an alert for each new CVE published for sanitize-html.
Affected and fixed versions
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- sanitize-htmlnpmall versions · fixed in 2.0.0-beta
Vendor advisories
- CVE-2019-25225 Red Hat Product Security
sanitize-html: sanitize-html cross site scripting
Description
`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.
Technical details
- Published
- 2025-09-08
Frequently asked questions
What is CVE-2019-25225?
Is CVE-2019-25225 actively exploited?
What is the CVSS score for CVE-2019-25225?
Running sanitize-html? Hear about its next vulnerability
CVE Watch matches each new CVE to the vendors and products you list (vendor and product, not the version) and puts it in your alerts with its KEV and EPSS status.
Already have an account? Open CVE WatchNo credit card required · No monthly cap on website lookups · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? CVE Watch alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.