Cross-site scripting (XSS) vulnerability in Web Inspector in WebKit in Apple Safari before 4.0 allows user-assisted remote attackers to inject arbitrary web script or HTML, and read local files, via vectors related to script execution with incorrect privileges.
http://www.vupen.com/english/advisories/2011/0212
http://www.vupen.com/english/advisories/2009/1522
http://www.securityfocus.com/bid/35349
http://support.apple.com/kb/HT3613
http://securitytracker.com/id?1022344
http://secunia.com/advisories/43068
http://secunia.com/advisories/35379
http://lists.opensuse.org/opensuse-security-announce/2011-01/msg00006.html
http://lists.apple.com/archives/security-announce/2009/jun/msg00002.html