CVE-2011-0697 json
Cross-site scripting in django
published 2011-02-14 15 y ago modified 2026-06-28 4 mo ago also GHSA-8m3r-rv5g-fcpq , PYSEC-2011-11 , PYSEC-2011-31 , EUVD-2011-0005
- cvss
- 6.1
- version 3.1, GitHub
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.6%
- EPSS 2.6% chance of exploitation in 30 days, percentile 85%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- pypi django 1.1.4, 1.2.5
- python-django Debian 14, Debian 13, Debian 12 1.2.5-1
debian advisories DEBIAN-CVE-2011-0697
- github.com/django/django@1966786 commit
- github.com/django/django@1f814a9 commit
- github.com/django/django@90be6ca commit
- github.com/django/django@a9cf3d2 commit
- openwall.com/lists/oss-security/2011/02/09/6 patch
- bugzilla.redhat.com/show_bug.cgi?id=676359 patch
- djangoproject.com/weblog/2011/feb/08/security/ advisory
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2011-0697 updated
Django Potential XSS in file field rendering
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
2.59% chance of exploitation in the next 30 days, higher than 85% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 2.0 | 4.3 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
| GitHub | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | django | >=1.1, <1.1.4 >=1.2, <1.2.5 |
1.1.4 1.2.5 |
Classification
- Weakness
-
- CWE-79 Improper Neutralization of Input During Web Page Generation
- Technology feeds
References
-
openwall.com
/lists/oss-security/2011/02/09/6
mailing-list, web, patch
-
bugzilla.redhat.com
/show_bug.cgi?id=676359
web, patch, report
-
djangoproject.com
/weblog/2011/feb/08/security/
patch, vendor-advisory, article
-
github.com
/django/django/commit/1966786d2dde73e17f39cf340eb33fcb5d73904e
web
-
github.com
/django/django/commit/1f814a9547842dcfabdae09573055984af9d3fab
web
-
github.com
/django/django/commit/90be6ca20d607977dec234ec972b77b83955749b
web
-
github.com
/django/django/commit/a9cf3d23724ff6918103e86aa863eadd1fab811d
web
-
lists.fedoraproject.org
/pipermail/package-announce/2011-February/054207.html
vendor-advisory, web
-
ubuntu.com
/usn/USN-1066-1
vendor-advisory, web, advisory
-
mandriva.com
/security/advisories?name=MDVSA-2011:031
vendor-advisory, web, advisory
-
debian.org
/security/2011/dsa-2163
vendor-advisory, web, advisory
-
lists.fedoraproject.org
/pipermail/package-announce/2011-February/054208.html
vendor-advisory, web
-
secunia.com
/advisories/43297
third-party-advisory, web, advisory
-
secunia.com
/advisories/43382
third-party-advisory, web, advisory
-
vupen.com
/english/advisories/2011/0439
vdb-entry, web, advisory
-
vupen.com
/english/advisories/2011/0429
vdb-entry, web, advisory
-
secunia.com
/advisories/43230
third-party-advisory, web, advisory
-
secunia.com
/advisories/43426
third-party-advisory, web, advisory
-
vupen.com
/english/advisories/2011/0372
vdb-entry, web, advisory
-
vupen.com
/english/advisories/2011/0441
vdb-entry, web, advisory
-
securityfocus.com
/bid/46296
vdb-entry, web
-
vupen.com
/english/advisories/2011/0388
vdb-entry, web, advisory
-
nvd.nist.gov
/vuln/detail/CVE-2011-0697
advisory
-
github.com
/advisories/GHSA-8m3r-rv5g-fcpq
advisory
-
github.com
/django/django
package
-
github.com
/pypa/advisory-database/tree/main/vulns/django/PYSEC-2011-11.yaml
web
-
github.com
/pypa/advisory-database/tree/main/vulns/django/PYSEC-2011-31.yaml
web
-
web.archive.org
/web/20110521033259/http://secunia.com/advisories/43230
web
-
web.archive.org
/web/20110521033304/http://secunia.com/advisories/43297
web
-
web.archive.org
/web/20110521033309/http://secunia.com/advisories/43382
web
-
web.archive.org
/web/20110521033314/http://secunia.com/advisories/43426
web
-
web.archive.org
/web/20130616104703/http://www.securityfocus.com/bid/46296
web
-
djangoproject.com
/weblog/2011/feb/08/security
web
Sources
- CVE List CVE-2011-0697
- GitHub Advisory GHSA-8m3r-rv5g-fcpq
- NVD CVE-2011-0697
- OSV PYSEC-2011-11
- OSV PYSEC-2011-31
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.