Defenses: A client-side sanitizer uses DOMParser + querySelectorAll to strip scripts and event handlers, then re-inserts via innerHTML. After insertion, the page instantiates any <template> elements to support dynamic content.
A sanitizer strips dangerous elements, then the page renders <template> content for dynamic components. Can you hide a payload the sanitizer can't see?