Skip to content
CVE Tracker
Back

CVE-2011-4940

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…

Low2.6EPSS 3.2%
Published
Updated
Reserved
Assigned by
redhat

Description

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.

Scores

CVSS scores of CVE-2011-4940, by who scored it
Scored byCVSSScoreVector
NVDNVD · Modified2.0Low2.6AV:N/AC:H/Au:N/C:N/I:P/A:N
EPSS (exploitation in 30 days)
3.2% · top 12% of all CVEs (2 Nov 2026)

Loading the EPSS history…

The list uses the assigner's score when there is one, then CISA's, then NVD's: Low 2.6.

Weakness

Affected products

  • n/a

    • affected n/a

References (12)

Sources

The same CVE in the primary databases and aggregators, to check against.

Record last updated .