Intermediate
4.8
2,847
Advanced XSS Techniques: Bypassing Client-Side and Server-Side Protection in OWASP Juice Shop
Explore advanced XSS techniques to bypass client-side and server-side protection in OWASP Juice Shop.

Ready
4
Modules
30 minutes
Duration
Lab Modules
4 steps
Lab Overview
Cross-Site Scripting (XSS) vulnerabilities allow attackers to inject malicious scripts into web applications, targeting users and compromising security. In this advanced XSS lab, you will explore how client-side and server-side validation mechanisms can be bypassed to execute persisted XSS attacks. Persisted XSS, also known as stored XSS, is particularly dangerous because the malicious payload is stored on the server and executed whenever the affected content is viewed.
This lab will guide you through exploiting two challenges in the OWASP Juice Shop:
- Bypassing Client-Side XSS Protections: Inject a payload into user data to exploit weaknesses in client-side security measures.
- Bypassing Server-Side XSS Protections: Leverage known vulnerabilities in sanitization libraries to execute XSS attacks that bypass server-side defenses.
Objectives
Upon completing this lab, you will:
- Understand the limitations of client-side and server-side XSS protection mechanisms.
- Learn to craft XSS payloads to exploit persisted XSS vulnerabilities.
- Recognize the risks and impact of persisted XSS attacks on users and application security.
Who is this lab for?
This lab is designed for:
- Developers who want to understand how XSS payloads bypass both client and server-side protections.
- Security professionals seeking to enhance their skills in identifying and exploiting XSS vulnerabilities.
- Learners exploring advanced XSS techniques and their implications.

Ready
4
Modules
30 minutes
Duration
Lab Modules
4 steps