Back

LOW

python: potential XSS in SimpleHTTPServer's list_directory()

Published Jun 27, 2012

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.

Affected products

Remediation

No remediation recorded yet.

Metrics

References (15)

Change history (0)

No recorded changes yet.

Sources
CVE.org / MITRE
Status PUBLISHED
Assigner redhat
Published Jun 27, 2012
Updated Aug 7, 2024
Reserved Dec 23, 2011
NVD
Status Modified
Modified Jun 16, 2026
Red Hat
Severity Low
Public date Mar 8, 2011