Sanitizer API with Frederik Braun

In the latest ShopTalk Show podcast, the hosts are joined by Frederik Braun from Mozilla to discuss the Sanitizer API—a new web security feature designed to make handling HTML safer and more reliable. Frederik explains how the API works with HTML tags and web components, offering insights into its role in preventing vulnerabilities caused by malformed or untrusted content.
The conversation delves into the technical details of how the Sanitizer API processes and cleans up HTML, ensuring that only safe elements are rendered in the browser. Frederik also highlights how the API interacts with Content Security Policy (CSP), and why using both together can provide a robust defense against cross-site scripting and other web security threats.
This episode is a must-listen for developers interested in modern web security practices, offering practical advice and expert perspectives on integrating the Sanitizer API into real-world projects.
