GHSA-qhxp-v273-g94h · Severity: medium · Ecosystem: npm — sanitize-html is vulnerable to XSS through incomprehensive sanitization
`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.
Conclusion & alert: CVE-2019-25225 is rated Exploit Available (50/100): CVSS Medium severity, with low exploitation likelihood (EPSS 0.25%). Core evidence: 1 public exploit reference(s) are indexed (Exploit-DB). Mandatory action: Public exploits are available—assess exposure, apply mitigations, and prioritize patching.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
| EDB-ID | Source | Kind | Published | Link |
|---|---|---|---|---|
| — | nvd_ref | exploit_tag | Exploit-DB ↗ |
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-06-15 | 0.07% | 0.25% | +0.18% |
| 2 | 2026-05-25 | 0.03% | 0.07% | +0.04% |
| 3 | 2026-02-04 | — | 0.03% | — |
Full EPSS history (5 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 6.1 | 3.1 | MEDIUM |
|
2.8 | 2.7 | 596c5446-0ce5-4ba2-aa66-48b3b757a647 |
GHSA-qhxp-v273-g94h · Severity: medium · Ecosystem: npm — sanitize-html is vulnerable to XSS through incomprehensive sanitization
| vendor | priority | summary | link |
|---|---|---|---|
debian
|
unimportant | CVE-2019-25225 unimportant priority: Debian including 1 source packages (node-sanitize-html), 4 status rows across 4 suites (bookworm, forky, sid, trixie): resolved 4. | https://security-tracker.debian.org/tracker/CVE-2019-25225 |
redhat
|
medium | — | https://access.redhat.com/security/cve/CVE-2019-25225 |
ubuntu
|
medium | CVE-2019-25225 medium priority: Ubuntu including 1 source packages (node-sanitize-html), 5 status rows across 5 suites (jammy, noble, plucky, questing, upstream): needs-triage 3, ignored 1, not-affected 1. | https://ubuntu.com/security/CVE-2019-25225 |
| Vendor | Product | Version | Raw CPE |
|---|---|---|---|
| apostrophecms | sanitize-html | < 2.0.0 | cpe:2.3:a:apostrophecms:sanitize-html:*:*:*:*:*:node.js:*:* |
| URL | Tags |
|---|---|
| https://github.com/Checkmarx/Vulnerabilities-Proofs-of-Concept/tree/main/2019/CVE-2019-25225 | Exploit Third Party Advisory |
| https://github.com/apostrophecms/sanitize-html/commit/712cb6895825c8bb6ede71a16b42bade42abcaf3 | Patch |
| https://github.com/apostrophecms/sanitize-html/issues/293 | Issue Tracking Vendor Advisory |
| https://github.com/apostrophecms/sanitize-html/pull/156 | Issue Tracking Patch |