Skip to content
CVE Ledger
  • Newest CVEsPage
  • Recently added to KEVPage
  • Rising exploitation (EPSS)Page
  • Weekly digestPage
  • StatisticsPage
  • WatchlistPage
  • API documentationPage
  • MCP serverPage
  • Data sourcesPage
  • ChangelogPage
  • AboutPage
  • How it's builtPage
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.

Timeline

  1. ID reserved

    By redhat

  2. · 6 months later

    Published

  3. · 12 years later

    Record updated

Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.

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 (8 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.

Badge for a README or a ticket

CVE-2011-4940 badge
[![CVE-2011-4940](https://cveledger.app/badge/CVE-2011-4940.svg)](https://cveledger.app/cve/CVE-2011-4940)

Record last updated .