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.
Matching moments
24:43 MIN
The future of XSS prevention with Trusted Types
A Primer in Single Page Application Security (Angular, React, Vue.js)
23:33 MIN
Introducing trusted types to secure dangerous dom sinks
Cross Site Scripting is yesterday's news, isn't it?
04:25 MIN
The primary security threat of cross-site scripting
A Primer in Single Page Application Security (Angular, React, Vue.js)
36:02 MIN
Eliminating XSS with a dedicated HTML type
Typed Security: Preventing Vulnerabilities By Design
26:58 MIN
A practical checklist for preventing XSS in SPAs
A Primer in Single Page Application Security (Angular, React, Vue.js)
26:34 MIN
Implementing trusted types with the dompurify library
Cross Site Scripting is yesterday's news, isn't it?
33:09 MIN
Essential web security best practices beyond SPAs
A Primer in Single Page Application Security (Angular, React, Vue.js)
30:00 MIN
Browser support and final recommendations for trusted types
Cross Site Scripting is yesterday's news, isn't it?
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
Securing Your Web Application Pipeline From Intruders
Milecia McGregor
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
From learning to earning
Jobs that call for the skills explored in this talk.
Frontend Web Developer - JavaScript | React | Angular | Vue.js | Bootstrap | Tailwind | HTML | CSS
Tech Solutions Gmbh
Illingen, Germany
API
CSS
GIT
HTML
Scrum
+5
Front End Developer TypeScript React
Client Server
Charing Cross, United Kingdom
Remote
€75-90K
REST
React
TypeScript
Fullstack Web Developer - JavaScript | React | PHP | Python | Angular | Vue.js | Node.js | Bootstrap
Tech Solutions Gmbh
PHP
API
CSS
GIT
HTML
+8
Tech Lead Front End (React.js)
TKH Security
Municipality of Madrid, Spain
Remote
Intermediate
API
REST
React
GraphQL
+7
Senior Frontend Developer (TypeScript, Next.js, React)
Quantumobile
Municipality of Madrid, Spain
React
Next.js
TypeScript
Frontend Engineer (Typescript/React.js)
VanHack
Barcelona, Spain
Remote
Intermediate
GIT
REST
React
Vue.js
+10
Senior Front - End Developer (Angular + TypeScript)
Cognizant
Municipality of Madrid, Spain
CSS
Node.js
Angular
JavaScript
TypeScript

