{"id":"CVE-2011-0697","aliases":["GHSA-8m3r-rv5g-fcpq","PYSEC-2011-11","PYSEC-2011-31"],"kind":"cve","tier":"cold","status":"published","title":"Cross-site scripting in django","description":"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.","ai_summary":null,"severity":"medium","cvss":{"score":4.3,"version":"2.0","vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","source":"NVD"},"scores":[{"score":4.3,"version":"2.0","vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","source":"nvd"}],"cwe":["CWE-79"],"remote":true,"remote_unauth":true,"epss":{"score":0.02582,"percentile":0.85982,"date":"2026-11-28"},"kev":{"listed":false,"added":null,"due":null,"ransomware":null},"exploit":{"public":false,"exploitdb_ids":[]},"affected":[{"ecosystem":"PyPI","name":"django","affected":">= 1.1, < 1.1.4","fixed":["1.1.4","1.2.5"],"source":"osv"}],"affected_products":[{"vendor":"n/a","product":"n/a","versions":"","source":"nvd"}],"ai_versions":null,"mitigation":"Upgrade django to one of 1.1.4, 1.2.5 (or later in the same release line).","technologies":[],"references":[{"url":"http://secunia.com/advisories/43297","kind":"vendor"},{"url":"http://secunia.com/advisories/43382","kind":"vendor"},{"url":"http://www.vupen.com/english/advisories/2011/0439","kind":"vendor"},{"url":"http://www.vupen.com/english/advisories/2011/0429","kind":"vendor"},{"url":"http://secunia.com/advisories/43230","kind":"vendor"},{"url":"http://secunia.com/advisories/43426","kind":"vendor"},{"url":"http://www.vupen.com/english/advisories/2011/0372","kind":"vendor"},{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2011-February/054207.html","kind":"vendor"},{"url":"http://www.vupen.com/english/advisories/2011/0441","kind":"vendor"},{"url":"http://www.ubuntu.com/usn/USN-1066-1","kind":"vendor"},{"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2011:031","kind":"vendor"},{"url":"http://www.debian.org/security/2011/dsa-2163","kind":"vendor"},{"url":"http://www.vupen.com/english/advisories/2011/0388","kind":"vendor"},{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2011-February/054208.html","kind":"vendor"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2011-0697","kind":"vendor"},{"url":"https://github.com/advisories/GHSA-8m3r-rv5g-fcpq","kind":"vendor"},{"url":"http://openwall.com/lists/oss-security/2011/02/09/6","kind":"patch"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=676359","kind":"patch"},{"url":"http://www.djangoproject.com/weblog/2011/feb/08/security/","kind":"patch"},{"url":"https://github.com/django/django/commit/1966786d2dde73e17f39cf340eb33fcb5d73904e","kind":"patch"},{"url":"https://github.com/django/django/commit/1f814a9547842dcfabdae09573055984af9d3fab","kind":"patch"},{"url":"https://github.com/django/django/commit/90be6ca20d607977dec234ec972b77b83955749b","kind":"patch"},{"url":"https://github.com/django/django/commit/a9cf3d23724ff6918103e86aa863eadd1fab811d","kind":"patch"},{"url":"http://www.securityfocus.com/bid/46296","kind":"other"},{"url":"https://github.com/django/django","kind":"other"},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2011-11.yaml","kind":"other"},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2011-31.yaml","kind":"other"},{"url":"https://web.archive.org/web/20110521033259/http://secunia.com/advisories/43230","kind":"other"},{"url":"https://web.archive.org/web/20110521033304/http://secunia.com/advisories/43297","kind":"other"},{"url":"https://web.archive.org/web/20110521033309/http://secunia.com/advisories/43382","kind":"other"},{"url":"https://web.archive.org/web/20110521033314/http://secunia.com/advisories/43426","kind":"other"},{"url":"https://web.archive.org/web/20130616104703/http://www.securityfocus.com/bid/46296","kind":"other"},{"url":"http://www.djangoproject.com/weblog/2011/feb/08/security","kind":"other"}],"workarounds":null,"vendors":["djangoproject"],"products":["django"],"cpes":["cpe:2.3:a:djangoproject:django:1.1.0:*:*:*:*:*:*:*","cpe:2.3:a:djangoproject:django:1.1.2:*:*:*:*:*:*:*","cpe:2.3:a:djangoproject:django:1.1.3:*:*:*:*:*:*:*","cpe:2.3:a:djangoproject:django:1.1:*:*:*:*:*:*:*","cpe:2.3:a:djangoproject:django:1.2.1:*:*:*:*:*:*:*","cpe:2.3:a:djangoproject:django:1.2.2:*:*:*:*:*:*:*","cpe:2.3:a:djangoproject:django:1.2.3:*:*:*:*:*:*:*","cpe:2.3:a:djangoproject:django:1.2.4:*:*:*:*:*:*:*","cpe:2.3:a:djangoproject:django:1.2:*:*:*:*:*:*:*"],"published_at":"2011-02-14T20:00:00.000Z","modified_at":"2026-06-28T22:56:28.716Z","promoted_at":null,"attribution":[{"source":"CVE Program","text":"CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation.","url":"https://www.cve.org/Legal/TermsOfUse"},{"source":"NVD","text":"This product uses data from the NVD API but is not endorsed or certified by the NVD.","url":"https://nvd.nist.gov/vuln/detail/CVE-2011-0697"},{"source":"OSV","text":"CC-BY 4.0","url":"https://osv.dev/vulnerability/GHSA-8m3r-rv5g-fcpq","license_url":"https://creativecommons.org/licenses/by/4.0/"},{"source":"OSV","text":"CC-BY 4.0","url":"https://osv.dev/vulnerability/PYSEC-2011-11","license_url":"https://creativecommons.org/licenses/by/4.0/"},{"source":"OSV","text":"CC-BY 4.0","url":"https://osv.dev/vulnerability/PYSEC-2011-31","license_url":"https://creativecommons.org/licenses/by/4.0/"}],"links":{"html":"https://flawdb.com/CVE-2011-0697","markdown":"https://flawdb.com/CVE-2011-0697.md","json":"https://flawdb.com/api/v1/entries/CVE-2011-0697"}}