CVE-2011-4940 describes a cross-site scripting (XSS) vulnerability in the SimpleHTTPServer module of Python versions prior to 2.5.6c1, 2.6.7 rc2, and 2.7.2. The flaw stems from the list_directory function failing to include a charset parameter in the Content-Type HTTP header, enabling remote attackers to leverage UTF-7 encoding for XSS attacks, specifically targeting Internet Explorer 7. This vulnerability has a low CVSS score of 2.6, indicating a network-based attack with high complexity and a potential impact limited to partial integrity. There is no evidence of active exploitation, publicly available exploit code (Metasploit, Nuclei, ExploitDB), or significant community discussion or media coverage.
| Vendor | Product | Version(s) | CPE |
|---|---|---|---|
<= 2.5.6CPE matchmatch criteria | cpe:2.3:a:python:python:*:*:*:*:*:*:*:* | ||
0.9.0CPE matchmatch criteria | cpe:2.3:a:python:python:0.9.0:*:*:*:*:*:*:* | ||
0.9.1CPE matchmatch criteria | cpe:2.3:a:python:python:0.9.1:*:*:*:*:*:*:* | ||
1.2CPE matchmatch criteria | cpe:2.3:a:python:python:1.2:*:*:*:*:*:*:* | ||
1.3CPE matchmatch criteria | cpe:2.3:a:python:python:1.3:*:*:*:*:*:*:* |
CVSS version used by this source: 2.0
AV:N/AC:H/Au:N/C:N/I:P/A:N
The average CVE in this peer group has 0.0 Twitter, 0.0 Reddit, 0.1 Bluesky, 0.0 Mastodon, and 0.3 GitHub mentions.
No media coverage found for this CVE.
The average CVE in this peer group has 0.0 InfoSec Media, 0.0 Vendor Blog, and 0.0 Security Researcher mentions.