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.
Hubert Burda Media
München, Germany
€80-95K
Intermediate
Senior
JavaScript
Node.js
+1
Technoly GmbH
Berlin, Germany
Senior
JavaScript
Angular
+1
Matching moments
02:15 MIN
The future of XSS prevention with Trusted Types
A Primer in Single Page Application Security (Angular, React, Vue.js)
03:01 MIN
Introducing trusted types to secure dangerous dom sinks
Cross Site Scripting is yesterday's news, isn't it?
04:32 MIN
The primary security threat of cross-site scripting
A Primer in Single Page Application Security (Angular, React, Vue.js)
01:44 MIN
Eliminating XSS with a dedicated HTML type
Typed Security: Preventing Vulnerabilities By Design
03:21 MIN
A practical checklist for preventing XSS in SPAs
A Primer in Single Page Application Security (Angular, React, Vue.js)
01:03 MIN
Q&A on common pitfalls and sanitization tools
101 Typical Security Pitfalls
03:26 MIN
Implementing trusted types with the dompurify library
Cross Site Scripting is yesterday's news, isn't it?
03:30 MIN
Essential web security best practices beyond SPAs
A Primer in Single Page Application Security (Angular, React, Vue.js)
Featured Partners
Related Videos
A Primer in Single Page Application Security (Angular, React, Vue.js)
Thomas Konrad
Cross Site Scripting is yesterday's news, isn't it?
Martina Kraus
Typed Security: Preventing Vulnerabilities By Design
Michael Koppmann
You can’t hack what you can’t see
Reto Kaeser
You click, you lose: a practical look at VSCode's security
Thomas Chauchefoin & Paul Gerste
Friend or Foe? TypeScript Security Fallacies
Liran Tal
Cracking the Code: Decoding Anti-Bot Systems!
Fabien Vauchelles
Security in modern Web Applications - OWASP to the rescue!
Jakub Andrzejewski
Related Articles
View all articles



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

Confideck GmbH
Vienna, Austria
Remote
Intermediate
Senior
Node.js
MongoDB
TypeScript

aXite Security Tools
Amsterdam, Netherlands
Node.js
Angular
JavaScript

Mendix
Rotterdam, Netherlands
Remote
Intermediate
React
low-code
TypeScript
Continuous Integration

SoSafe
Charing Cross, United Kingdom
Senior
Scrum
React
DevOps
Node.js
TypeScript
+4

Client Server
Charing Cross, United Kingdom
Remote
£45-55K
Azure
React
TypeScript

Client Server
Cambridge, United Kingdom
Remote
£75-85K
Senior
D3.js
React
Figma
+4

Client Server
Newcastle upon Tyne, United Kingdom
£90-120K
React
TypeScript

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