XSS and JavaScript remote code executions Course

This course explores cross-site scripting (XSS) in JavaScript.

1 hour, 34 minutes

Course description

XSS attacks are arguably the main threat against JavaScript web applications. In this course, we will cover them in detail and leave no stone unturned as we check everything about reflected, stored, DOM-based XSS. We will extensively cover CSP and trusted types.


Trusted types

Video - 00:16:00

Trusted types is the latest iteration in the fight against XSS.
Content security policy and XSS

Video - 00:15:00

Content security policies are a complex yet powerful tool to prevent browsers from loading data insecurely.
Code execution: eval and other vulnerable sinks

Video - 00:15:00

There are multiple ways (beyond XSS) to dynamically inject code in a running JavaScript applications.
DOM-based XSS

Video - 00:13:00

DOM-based XSS happens without any server interactions.
Stored XSS

Video - 00:07:00

Stored XSS happens when the server keeps the XSS payload in database or on the file system.
Reflected XSS

Video - 00:16:00

Reflected XSS happens when the XSS payload is sent to a server and sent back to the client.
XSS overview

Video - 00:12:00

What is cross-site scripting and what is its impact?

Meet the author

Vladimir de Turckheim

Vladimir is a core Node.js collaborator and is involved in most security-related topics of the Node.js project. He has worked for seven years as an Application Security expert at Sqreen and as a Staff Engineer at Datadog. He is now building a new company.

Unlock 7 days of free training

  • 1,400+ hands-on courses and labs
  • Certification practice exams
  • Skill assessments

Associated NICE Work Roles

All Infosec training maps directly to the NICE Workforce Framework for Cybersecurity to guide you from beginner to expert across 52 Work Roles.

  • All-Source Analyst
  • Mission Assessment Specialist
  • Exploitation Analyst

Plans & pricing

Infosec Skills Personal

$299 / year

  • 190+ role-guided learning paths (e.g., Ethical Hacking, Threat Hunting)
  • 100s of hands-on labs in cloud-hosted cyber ranges
  • Custom certification practice exams (e.g., CISSP, Security+)
  • Skill assessments
  • Infosec peer community support

Infosec Skills Teams

$799 per license / year

  • Team administration and reporting
  • Dedicated client success manager
  • Single sign-on (SSO)
    Easily authenticate and manage your learners by connecting to any identity provider that supports the SAML 2.0 standard.
  • Integrations via API
    Retrieve training performance and engagement metrics and integrate learner data into your existing LMS or HRS.
  • 190+ role-guided learning paths and assessments (e.g., Incident Response)
  • 100s of hands-on labs in cloud-hosted cyber ranges
  • Create and assign custom learning paths
  • Custom certification practice exams (e.g., CISSP, CISA)
  • Optional upgrade: Guarantee team certification with live boot camps

Learn about scholarships and financing with

Affirm logo

Award-winning training you can trust