Philippe De Ryck
Securing Frontend Applications with Trusted Types
#1about 4 minutes
Understanding the real-world danger of cross-site scripting
Cross-site scripting (XSS) allows attackers to execute malicious code in a user's browser, with severe consequences like data theft.
#2about 4 minutes
How modern frameworks fail to prevent all XSS attacks
While frameworks like Angular and React encode data by default, properties like `dangerouslySetInnerHTML` create bypasses that reintroduce XSS risks.
#3about 6 minutes
Using sanitization to safely render dynamic HTML
Sanitizing user-provided HTML with libraries like DOMPurify is crucial for preventing XSS, especially when bypassing framework defaults.
#4about 7 minutes
How Trusted Types change browser behavior to block XSS
Enabling Trusted Types via a Content Security Policy header forces dangerous DOM sinks like `innerHTML` to reject strings and only accept safe, typed objects.
#5about 5 minutes
Using Trusted Types in development to secure all browsers
Even with limited browser support, using Trusted Types during development helps developers find and fix XSS vulnerabilities that benefit users on all platforms.
#6about 6 minutes
Securing third-party libraries with a default policy
A default Trusted Types policy can automatically sanitize insecure DOM assignments from third-party dependencies, securing your entire application.
#7about 13 minutes
Q&A on framework comparisons and advanced concepts
The speaker answers audience questions about Vue.js, server-side validation, policy injection risks, browser polyfills, and the future of native sanitization APIs.
Related jobs
Jobs that call for the skills explored in this talk.
Technoly GmbH
Berlin, Germany
€50-60K
Intermediate
Network Security
Security Architecture
+2
Hubert Burda Media
München, Germany
€80-95K
Intermediate
Senior
JavaScript
Node.js
+1
Douglas GmbH
Düsseldorf, Germany
Intermediate
Senior
TypeScript
React
Matching moments
05:01 MIN
Comparing the security models of browsers and native apps
Developer Time Is Valuable - Use the Right Tools - Kilian Valkhof
02:33 MIN
Why you might not need JavaScript for everything
WeAreDevelopers LIVE – You Don’t Need JavaScript, Modern CSS and More
03:31 MIN
The value of progressive enhancement and semantic HTML
WeAreDevelopers LIVE – You Don’t Need JavaScript, Modern CSS and More
11:32 MIN
The industry's focus on frameworks over web fundamentals
WeAreDevelopers LIVE – Frontend Inspirations, Web Standards and more
09:00 MIN
Navigating the growing complexity of modern CSS
WeAreDevelopers LIVE – You Don’t Need JavaScript, Modern CSS and More
11:10 MIN
The only frontend stack that truly matters
WeAreDevelopers LIVE – Frontend Inspirations, Web Standards and more
07:12 MIN
Ensuring accurate testing across different browsers and devices
Developer Time Is Valuable - Use the Right Tools - Kilian Valkhof
03:16 MIN
Improving the developer feedback loop with specialized tools
Developer Time Is Valuable - Use the Right Tools - Kilian Valkhof
Featured Partners
Related Videos
Cross Site Scripting is yesterday's news, isn't it?
Martina Kraus
A Primer in Single Page Application Security (Angular, React, Vue.js)
Thomas Konrad
Friend or Foe? TypeScript Security Fallacies
Liran Tal
Typed Security: Preventing Vulnerabilities By Design
Michael Koppmann
Security in modern Web Applications - OWASP to the rescue!
Jakub Andrzejewski
101 Typical Security Pitfalls
Alexander Pirker
You click, you lose: a practical look at VSCode's security
Thomas Chauchefoin & Paul Gerste
WeAreDevelopers LIVE – Frontend Inspirations, Web Standards and more
Chris Heilmann, Daniel Cranney & Jan Deppisch
Related Articles
View all articles



From learning to earning
Jobs that call for the skills explored in this talk.

Visonum GmbH
Remote
Junior
Intermediate
React
Redux
TypeScript

aXite Security Tools
Amsterdam, Netherlands
Node.js
Angular
JavaScript

Mendix
Rotterdam, Netherlands
Remote
Intermediate
CSS
HTML
TypeScript
Continuous Integration


Stratech Logistic
Enschede, Netherlands
Remote
€5K
Senior
CSS
Scrum
Angular
+2


Client Server
Charing Cross, United Kingdom
Remote
£75-90K
React
TypeScript

engelhardt softwareentwicklung GmbH
Ditzingen, Germany
Remote
CSS
GIT
HTML
Java
+10

Stratech Logistic
Enschede, Netherlands
Remote
€5K
Intermediate
CSS
Scrum
Angular
+2