Test for DOMPurify bypasses
When a target uses DOMPurify for sanitization, look for custom hooks that may introduce vulnerabilities. Check the uponSanitizeAttribute, uponSanitizeElement, and afterSanitizeAttributes hooks for potential bypasses. Test for namespace confusion and attribute smuggling by injecting malicious tags or attributes. A successful bypass can lead to XSS exploitation. Consider the target's specific configuration and version of DOMPurify when testing for vulnerabilities.
Follow #ckeditor, #dompurify or #xss for new tips like this one, on your notifications page and, if you choose, in a daily or weekly email.
Comments
No comments yet.