{"id":"DEBIAN-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.","modified":"2026-08-25T02:47:25.444087139Z","published":"2012-06-27T10:18:36.433Z","upstream":["CVE-2011-4940"],"references":[{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2011-4940"}],"affected":[{"package":{"name":"python2.7","ecosystem":"Debian:11","purl":"pkg:deb/debian/python2.7?arch=source&distro=bullseye"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.7.2-8"}]}],"ecosystem_specific":{"urgency":"unimportant"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2011-4940.json"}}],"schema_version":"1.9.0"}