THREAT OPS › Threat News › [GHSA] GHSA-c6gr-qvv4-5v3f (low) — DOMPurify: SMIL attributeName=href guard is skipped when PARSER_MEDIA_TYPE is application/xhtml+xml
[GHSA] GHSA-c6gr-qvv4-5v3f (low) — DOMPurify: SMIL attributeName=href guard is skipped when PARSER_MEDIA_TYPE is application/xhtml+xml
GHSA-c6gr-qvv4-5v3f Severity: low CVE: None
DOMPurify: SMIL attributeName=href guard is skipped when PARSER_MEDIA_TYPE is application/xhtml+xml
### Summary
DOMPurify drops `attributeName` attributes whose value contains `href`, so an allowed `<animate>` or `<set>` can't rewrite a link's href after sanitizing. The check compares the attribute name after `transformCaseFunc`, and that function doe
MITRE ATT&CK techniques
- JavaScriptT1059.007
Original source: https://github.com/advisories/GHSA-c6gr-qvv4-5v3f