WebKit in Apple Safari before 5.0.4, when the Web Inspector is used, does not properly handle the window.console._inspectorCommandLineAPI property, which allows user-assisted remote attackers to bypass the Same Origin Policy and conduct cross-site scripting (XSS) attacks via a crafted web site.
https://exchange.xforce.ibmcloud.com/vulnerabilities/66006
http://www.securitytracker.com/id?1025183
http://www.securityfocus.com/bid/46809
http://support.apple.com/kb/HT4566
http://lists.apple.com/archives/security-announce/2011//Mar/msg00004.html