VDB
CVE-2019-25225
CVE-2019-25225
PUBLISHED
`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.08% · 23.6th percentile
Risk Scores
EPSS Score
0.08%
23.6th percentile
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Ubuntu:24.04:LTS | node-sanitize-html | 0, 2.8.0+~2.6.2-1 |
| Ubuntu:22.04:LTS | node-sanitize-html | 0, 2.6.1-1 |
| Ubuntu:25.10 | node-sanitize-html | 0, 2.14.0+~2.13.0-1 |
Exploit Intelligence
- https://github.com/Checkmarx/Vulnerabilities-Proofs-of-Concept/tree/main/2019/CVE-2019-25225 (nist-nvd)
- CIRCL seen: CVE-2019-25225 (circl-sighting)
- CIRCL seen: CVE-2019-25225 (circl-sighting)
- https://github.com/apostrophecms/sanitize-html/issues/293 (circl)
- https://github.com/apostrophecms/sanitize-html/pull/156 (circl)
- https://github.com/apostrophecms/sanitize-html/commit/712cb6895825c8bb6ede71a16b42bade42abcaf3 (circl)
- summary.html (github-poc)
- summary.html (github-poc)
- summary.html (github-poc)
- summary.html (github-poc)
…and 4 more exploits
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 15, 2025 EPSS Score
- Sep 23, 2025 EPSS Score
- Sep 30, 2025 EPSS Score
- Oct 8, 2025 EPSS Score
- Oct 15, 2025 EPSS Score
- Oct 22, 2025 EPSS Score
- Oct 30, 2025 EPSS Score
References
- https://ubuntu.com/security/CVE-2019-25225 third-party-advisory
- https://www.cve.org/CVERecord?id=CVE-2019-25225 third-party-advisory
- https://github.com/apostrophecms/sanitize-html/issues/293 third-party-advisory
- https://github.com/apostrophecms/sanitize-html/pull/156 third-party-advisory
- https://github.com/apostrophecms/sanitize-html/commit/712cb6895825c8bb6ede71a16b42bade42abcaf3 third-party-advisory
- https://github.com/Checkmarx/Vulnerabilities-Proofs-of-Concept/tree/main/2019/CVE-2019-25225 third-party-advisory