{"id":"CVE-2011-4940","details":"The list_directory function in Lib/SimpleHTTPServer.py in SimpleHTTPServer in Python before 2.5.6c1, 2.6.x before 2.6.7 rc2, and 2.7.x before 2.7.2 does not place a charset parameter in the Content-Type HTTP header, which makes it easier for remote attackers to conduct cross-site scripting (XSS) attacks against Internet Explorer 7 via UTF-7 encoding.","aliases":["PSF-2012-1"],"modified":"2026-04-10T03:42:08.860072Z","published":"2012-06-27T10:18:36Z","references":[{"type":"ADVISORY","url":"http://secunia.com/advisories/50858"},{"type":"ADVISORY","url":"http://secunia.com/advisories/51024"},{"type":"ADVISORY","url":"http://secunia.com/advisories/51040"},{"type":"ADVISORY","url":"http://www.ubuntu.com/usn/USN-1592-1"},{"type":"ADVISORY","url":"http://www.ubuntu.com/usn/USN-1596-1"},{"type":"ADVISORY","url":"http://www.ubuntu.com/usn/USN-1613-1"},{"type":"ADVISORY","url":"http://www.ubuntu.com/usn/USN-1613-2"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=803500"},{"type":"WEB","url":"http://bugs.python.org/issue11442"},{"type":"WEB","url":"http://jvn.jp/en/jp/JVN51176027/index.html"},{"type":"WEB","url":"http://jvndb.jvn.jp/jvndb/JVNDB-2012-000063"},{"type":"WEB","url":"http://www.securityfocus.com/bid/54083"}],"schema_version":"1.7.5"}