Today's XSS onmouseover exploit on twitter.com

后端 未结 5 644
爱一瞬间的悲伤
爱一瞬间的悲伤 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条回答
  •  梦毁少年i
    2020-12-23 10:18

    From Wikipedia: "Cross-site scripting (XSS) is a type of computer security vulnerability typically found in web applications that enables malicious attackers to inject client-side script into web pages viewed by other users."

    Today's attack fits the bill to me.

    Basically there was some sort of parsing error with Twitter.com display code. When they converted URLs to HTML hyperlinks, they weren't handling @ characters correctly and this was causing javascript events to be inserted into the HTML link.

提交回复
热议问题