CVE-2011-4940
LOW · CVSS 2.6EPSS 3.2%EU EUVD
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.
Key facts
- CVSS score
- 2.6 (v2.0)
- Severity
- LOW
- CVSS vector
AV:N/AC:H/Au:N/C:N/I:P/A:N- Weakness (CWE)
- CWE-79
- EPSS score
- 3.2% (88th percentile)
- In CISA KEV
- No
- In EU EUVD
- Yes (EUVD-2011-4850)
- Published
- June 27, 2012
- NVD last modified
- June 16, 2026
- Status
- Modified
EU Vulnerability Database (EUVD)
This vulnerability is also tracked by ENISA as EUVD-2011-4850 in the EU Vulnerability Database. Last updated in EUVD on August 7, 2024.
View on the EU Vulnerability DatabaseAffected products
- python / python
- python / python
- python / python
- python / python
- python / python
- python / python
- python / python
- python / python
- python / python
- python / python
- python / python
- python / python
- python / python
- python / python
- python / python
- python / python
- python / python
- python / python
- python / python
- python / python
- python / python
- python / python
- python / python
- python / python
- python / python
- python / python
- python / python
- python / python
- python / python
- python / python
- python / python
- python / python
- python / python
- python / python
- python / python
- python / python
- python / python
- python / python
- python / python
References
- http://bugs.python.org/issue11442
- http://jvn.jp/en/jp/JVN51176027/index.html
- http://jvndb.jvn.jp/jvndb/JVNDB-2012-000063
- http://secunia.com/advisories/50858
- http://secunia.com/advisories/51024
- http://secunia.com/advisories/51040
- http://www.securityfocus.com/bid/54083
- http://www.ubuntu.com/usn/USN-1592-1
- http://www.ubuntu.com/usn/USN-1596-1
- http://www.ubuntu.com/usn/USN-1613-1
- http://www.ubuntu.com/usn/USN-1613-2
- https://bugzilla.redhat.com/show_bug.cgi?id=803500
Last updated September 17, 2026 · Source: NVD, CISA KEV, FIRST.org EPSS
Query CVEs from your AI assistant
The CVE/NVD Explorer brain answers CVE questions directly inside Claude, ChatGPT, or any MCP assistant — always up to date, no setup. Add it once and stop pasting advisories into chat.
Add the CVE brain