DOMPurify before 3.4.17 contains a cross-site scripting vulnerability that allows attackers to...
Affected packages
| Ecosystem | Package | Affected | Fixed |
|---|---|---|---|
| cure53 | DOMPurify |
< 3.4.17 |
3.4.17 |
Original description The description as published by the source.
DOMPurify before 3.4.17 contains a cross-site scripting vulnerability that allows attackers to bypass the SMIL attributeName=href guard when PARSER_MEDIA_TYPE is application/xhtml+xml, because transformCaseFunc does not lowercase attribute names. Attackers can submit SVG with an animate or set element using attributeName="href" and a javascript: entry in values to execute script when users click the sanitized link.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- web disclosure@vulncheck.com
- web disclosure@vulncheck.com
- web nvd.nist.gov
- web github.com