Web Security · Client-side
DOMPurify
A configurable HTML sanitizer that removes disallowed elements and attributes before rendering. Suitable settings can strip event handlers and unsafe URLs. Permissive additions or later mutation can reintroduce dangerous markup.