07 Lab: Reflected XSS into attribute with angle brackets HTML-encoded

This lab contains a reflected cross-site scripting vulnerability in the search blog functionality where angle brackets are HTML-encoded. To solve this lab, perform a cross-site scripting attack that injects an attribute and calls the alert function.

Verificamos que el input que ingresamos, se refleja en el titulo de la busqueda

image.png

Por ende, probamos con estos payloads

  1. "onmouseover="alert(1)

https://0a410097038d61b2832f8bee000a009e.web-security-academy.net/?search="onmouseover%3D"alert(1)

image.png

Last updated