CVE-2011-4940
Python < 2.5.6 - XSS
Title source: ruleDescription
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.
References (12)
Scores
EPSS
0.0027
EPSS Percentile
50.6%
Classification
CWE
CWE-79
Status
published
Affected Products (40)
python/python
python/python
< 2.5.6
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
... and 25 more
Timeline
Published
Jun 27, 2012
Tracked Since
Feb 18, 2026