Bypass XSS filter in data- attribute
My web application allows users to make custom divs with whitelisted attributes. One of them is data-{user-input}.
Recently I have seen the following XSS payload:
[[div data-test/onmouseover=alert(1)]]
So I added the following code:
… Continue reading Bypass XSS filter in data- attribute