Today's XSS onmouseover exploit on twitter.com

后端 未结 5 645
爱一瞬间的悲伤
爱一瞬间的悲伤 2020-12-23 09:32

Can you explain what exactly happened on Twitter today? Basically the exploit was causing people to post a tweet containing this link:

http://t.co/@\"style=\"fon         


        
5条回答
  •  再見小時候
    2020-12-23 10:11

    It's an XSS exploit. As Twitter admitted in their update. You can prevent attacks like that by never allowing users to post javascript code. You should always filter it out. More information about avoiding XSS can be found here: http://www.owasp.org/index.php/Cross-site_Scripting_(XSS)

提交回复
热议问题