CVE-2019-16728 json
Cross-Site Scripting in dompurify
published 2019-09-24 7 y ago modified 2026-06-17 4 mo ago also GHSA-chqj-j4fh-rw7m , EUVD-2020-0615
- cvss
- 6.1
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.5%
- EPSS 1.5% chance of exploitation in 30 days, percentile 73%
- public exploits
- 0
- none known
Summary
DOMPurify before 2.0.1 allows XSS because of innerHTML mutation XSS (mXSS) for an SVG element or a MATH element, as demonstrated by Chrome and Safari.
Patch / fix
- npm dompurify 2.0.3
- cure53 dompurify 2.0.1
Exploit prediction
1.46% chance of exploitation in the next 30 days, higher than 73% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- research.securitum.com https://research.securitum.com/dompurify-bypass-using-mxss/ referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | 2.0 | 4.3 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
| GitHub | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | dompurify | <2.0.3 |
2.0.3 |
Classification
- Weakness
-
- CWE-79 Improper Neutralization of Input During Web Page Generation
References
-
research.securitum.com
/dompurify-bypass-using-mxss/
exploit, third-party-advisory
-
lists.debian.org
/debian-lts-announce/2020/10/msg00029.html
mailing-list, web, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2019-16728
advisory
-
research.securitum.com
/dompurify-bypass-using-mxss
web
-
npmjs.com
/advisories/1205
web
Sources
- CVE List CVE-2019-16728
- GitHub Advisory GHSA-chqj-j4fh-rw7m
- NVD CVE-2019-16728
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.