Live threats

All CVEs / Djangoproject

CVE-2011-0697Djangoproject Django

Medium 4.3 No auth needed

Priority
41
CVSS 2.0
4.3
EPSS
2.6%
probability of exploitation in 30 days · percentile 86
Auth required
No
Published
Feb 14, 2011
Updated
Jun 16, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-79
Vector
AV:N/AC:M/Au:N/C:N/I:P/A:N

What happens

Cross-site scripting (XSS) vulnerability in Django 1.1.x before 1.1.4 and 1.2.x before 1.2.5 might allow remote attackers to inject arbitrary web script or HTML via a filename associated with a file upload.

Original NVD text.

What to do

  1. Apply the vendor's security update for Django.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI django ≥ 1.1 < 1.1.4 1.1.4 pip install "django>=1.1.4"
PyPI django ≥ 1.2 < 1.2.5 1.2.5 pip install "django>=1.2.5"
PyPI django ≥ 1.1 < 1.1.4 1.1.4 pip install "django>=1.1.4"
PyPI django ≥ 1.2 < 1.2.5 1.2.5 pip install "django>=1.2.5"

Per OSV / GitHub Advisories (GHSA-8m3r-rv5g-fcpq, PYSEC-2011-11). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
djangoprojectdjango1.1
djangoprojectdjango1.1.0
djangoprojectdjango1.1.2
djangoprojectdjango1.1.3
djangoprojectdjango1.2
djangoprojectdjango1.2.1
djangoprojectdjango1.2.2
djangoprojectdjango1.2.3
djangoprojectdjango1.2.4

Official sources

References

Links published by the sources. Open them with care.