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.
http://lists.apple.com/archives/security-announce/2011//Mar/msg00004.html
https://exchange.xforce.ibmcloud.com/vulnerabilities/66006