Cure53 DOMPurify before 2.0.17 allows mutation XSS. This occurs because a serialize-parse roundtrip does not necessarily return the original DOM tree, and a namespace can change from HTML to MathML, as demonstrated by nesting of FORM elements.
The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.
Link | Tags |
---|---|
https://research.securitum.com/mutation-xss-via-mathml-mutation-dompurify-2-0-17-bypass/ | third party advisory exploit |
https://github.com/cure53/DOMPurify/commit/02724b8eb048dd219d6725b05c3000936f11d62d | third party advisory patch |
https://github.com/cure53/DOMPurify/compare/2.0.16...2.0.17 | third party advisory patch |
https://lists.debian.org/debian-lts-announce/2020/10/msg00029.html | third party advisory mailing list |
https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2020-26870 | patch vendor advisory |
https://www.oracle.com//security-alerts/cpujul2021.html | third party advisory patch |