DOMFortify turns on Trusted Types for a page and quietly takes over the browser's default policy, so that old, vulnerable HTML sinks get auto-sanitized before bad markup ever hits the DOM.
-
Updated
Jun 22, 2026 - HTML
DOMFortify turns on Trusted Types for a page and quietly takes over the browser's default policy, so that old, vulnerable HTML sinks get auto-sanitized before bad markup ever hits the DOM.
Reporting API demos, learn all about CSP & other reports (Network Error Logging/NEL, Crash, Deprecation, Intervention, Mixed Content & more) in this interactive app.
Trusted Types cheatsheet, playground demos, and polyfill notes
Add a description, image, and links to the trustedtypes topic page so that developers can more easily learn about it.
To associate your repository with the trustedtypes topic, visit your repo's landing page and select "manage topics."