{"schemaVersion":3,"id":"CVE-2011-0697","aliases":["GHSA-8m3r-rv5g-fcpq","PYSEC-2011-11","PYSEC-2011-31","DEBIAN-CVE-2011-0697"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2011-02-14T20:00:00.000Z","modified":"2024-08-06T21:58:26.093Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":4.3,"severity":"medium","version":"2.0","versionLabel":"v2.0","source":"NVD","vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":4.3,"severity":"medium","vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Pypi","score":5.3,"severity":"medium","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N","exploitability":null,"impact":null,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Pypi","score":6.1,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","exploitability":7.2,"impact":4.5,"computed":true}]},"epss":{"probability":0.02592,"percentile":0.85178,"severity":"low","asOf":"2026-10-22T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-22T00:00:00.000Z","baselineScore":0.02592},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.02592,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.02592,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.02592,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.02592,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.02592,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.02592,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.02592,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.02592,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.02592,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.02592,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.02592,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.02592,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.02592,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.02592,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.02592,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.02592,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.02592,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.02592,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.02592,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.02592,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.02592,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.02592,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.02592,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.02592,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.02592,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.02592,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.02592,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.02592,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.02592,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.02592,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.02592,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.02592,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.02592,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.02592,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.02592,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.02592,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.02592,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.02592,"percentile":null},{"date":"2026-10-22T00:00:00.000Z","score":0.02592,"percentile":0.85178}],"last30":[{"date":"2026-09-22T00:00:00.000Z","score":0.02592,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.02592,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.02592,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.02592,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.02592,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.02592,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.02592,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.02592,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.02592,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.02592,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.02592,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.02592,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.02592,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.02592,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.02592,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.02592,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.02592,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.02592,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.02592,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.02592,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.02592,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.02592,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.02592,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.02592,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.02592,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.02592,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.02592,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.02592,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.02592,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.02592,"percentile":null},{"date":"2026-10-22T00:00:00.000Z","score":0.02592,"percentile":0.85178}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","description":"The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/79.html"}],"affected":[{"vendor":"debian","product":"python-django","name":"python-django","label":"python-django","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/python-django","purlType":"deb","versions":[{"text":"< 1.2.5-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.2.5-1","eol":null,"hubHref":null},{"vendor":"djangoproject","product":"django","name":"django","label":"django","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"1.1","noFixRecorded":false,"fixedIn":null},{"text":"1.10","noFixRecorded":false,"fixedIn":null},{"text":"1.1.2","noFixRecorded":false,"fixedIn":null},{"text":"1.1.3","noFixRecorded":false,"fixedIn":null},{"text":"1.2","noFixRecorded":false,"fixedIn":null},{"text":"1.2.1","noFixRecorded":false,"fixedIn":null},{"text":"1.2.2","noFixRecorded":false,"fixedIn":null},{"text":"1.2.3","noFixRecorded":false,"fixedIn":null},{"text":"1.2.4","noFixRecorded":false,"fixedIn":null}],"versionsText":"1.1 | 1.10 | 1.1.2 | 1.1.3 | 1.2 | 1.2.1 | 1.2.2 | 1.2.3 | 1.2.4","eol":{"isEol":true,"eolDate":"2017-12-02T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"1.10","label":"1.10","eolFrom":"2017-12-02T00:00:00.000Z","isLts":false,"isMaintained":false,"latestVersion":"1.10.8"},"product":{"name":"django","label":"Django","category":"framework"}},"hubHref":"/vendor/djangoproject/django"},{"vendor":"PyPI","product":"django","name":"django","label":"django","ecosystem":"PyPI","cpePart":null,"purl":"pkg:pypi/django","purlType":"pypi","versions":[{"text":"≥ 1.2, < 1.2.5","noFixRecorded":false,"fixedIn":null},{"text":"≥ 1.1, < 1.1.4","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 1.2, < 1.2.5 | ≥ 1.1, < 1.1.4","eol":null,"hubHref":null}],"affectedCount":3,"eol":{"hasEol":true,"count":1},"references":[{"url":"http://secunia.com/advisories/43297","label":"secunia.com/advisories/43297","hostname":"secunia.com","tags":["Third Party Advisory","X Refsource SECUNIA","WEB","Advisory"]},{"url":"http://secunia.com/advisories/43382","label":"secunia.com/advisories/43382","hostname":"secunia.com","tags":["Third Party Advisory","X Refsource SECUNIA","WEB","Advisory"]},{"url":"http://www.vupen.com/english/advisories/2011/0439","label":"www.vupen.com/english/advisories/2011/0439","hostname":"www.vupen.com","tags":["VDB Entry","X Refsource VUPEN","WEB","Advisory"]},{"url":"http://www.vupen.com/english/advisories/2011/0429","label":"www.vupen.com/english/advisories/2011/0429","hostname":"www.vupen.com","tags":["VDB Entry","X Refsource VUPEN","WEB","Advisory"]},{"url":"http://openwall.com/lists/oss-security/2011/02/09/6","label":"openwall.com/lists/oss-security/2011/02/09/6","hostname":"openwall.com","tags":["Mailing List","X Refsource MLIST","Patch","WEB","FIX"]},{"url":"http://secunia.com/advisories/43230","label":"secunia.com/advisories/43230","hostname":"secunia.com","tags":["Third Party Advisory","X Refsource SECUNIA","WEB","Advisory"]},{"url":"http://secunia.com/advisories/43426","label":"secunia.com/advisories/43426","hostname":"secunia.com","tags":["Third Party Advisory","X Refsource SECUNIA","WEB","Advisory"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=676359","label":"bugzilla.redhat.com/show_bug.cgi?id=676359","hostname":"bugzilla.redhat.com","tags":["X Refsource CONFIRM","Patch","WEB","REPORT","FIX"]},{"url":"http://www.vupen.com/english/advisories/2011/0372","label":"www.vupen.com/english/advisories/2011/0372","hostname":"www.vupen.com","tags":["VDB Entry","X Refsource VUPEN","WEB","Advisory"]},{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2011-February/054207.html","label":"lists.fedoraproject.org/pipermail/package-announce/2011-February/054207.html","hostname":"lists.fedoraproject.org","tags":["Vendor Advisory","X Refsource FEDORA","WEB"]},{"url":"http://www.vupen.com/english/advisories/2011/0441","label":"www.vupen.com/english/advisories/2011/0441","hostname":"www.vupen.com","tags":["VDB Entry","X Refsource VUPEN","WEB","Advisory"]},{"url":"http://www.ubuntu.com/usn/USN-1066-1","label":"www.ubuntu.com/usn/USN-1066-1","hostname":"www.ubuntu.com","tags":["Vendor Advisory","X Refsource UBUNTU","WEB","Advisory"]},{"url":"http://www.securityfocus.com/bid/46296","label":"www.securityfocus.com/bid/46296","hostname":"www.securityfocus.com","tags":["VDB Entry","X Refsource BID","WEB"]},{"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2011:031","label":"www.mandriva.com/security/advisories?name=MDVSA-2011:031","hostname":"www.mandriva.com","tags":["Vendor Advisory","X Refsource MANDRIVA","WEB","Advisory"]},{"url":"http://www.debian.org/security/2011/dsa-2163","label":"www.debian.org/security/2011/dsa-2163","hostname":"www.debian.org","tags":["Vendor Advisory","X Refsource DEBIAN","WEB","Advisory"]},{"url":"http://www.djangoproject.com/weblog/2011/feb/08/security/","label":"www.djangoproject.com/weblog/2011/feb/08/security/","hostname":"www.djangoproject.com","tags":["X Refsource CONFIRM","Patch","Vendor Advisory","ARTICLE","FIX"]},{"url":"http://www.vupen.com/english/advisories/2011/0388","label":"www.vupen.com/english/advisories/2011/0388","hostname":"www.vupen.com","tags":["VDB Entry","X Refsource VUPEN","WEB","Advisory"]},{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2011-February/054208.html","label":"lists.fedoraproject.org/pipermail/package-announce/2011-February/054208.html","hostname":"lists.fedoraproject.org","tags":["Vendor Advisory","X Refsource FEDORA","WEB"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2011-0697","label":"nvd.nist.gov/vuln/detail/CVE-2011-0697","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/django/django/commit/1966786d2dde73e17f39cf340eb33fcb5d73904e","label":"github.com/django/django/commit/1966786d2dde73e17f39cf340eb33fcb5d73904e","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/django/django/commit/1f814a9547842dcfabdae09573055984af9d3fab","label":"github.com/django/django/commit/1f814a9547842dcfabdae09573055984af9d3fab","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/django/django/commit/90be6ca20d607977dec234ec972b77b83955749b","label":"github.com/django/django/commit/90be6ca20d607977dec234ec972b77b83955749b","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/django/django/commit/a9cf3d23724ff6918103e86aa863eadd1fab811d","label":"github.com/django/django/commit/a9cf3d23724ff6918103e86aa863eadd1fab811d","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/advisories/GHSA-8m3r-rv5g-fcpq","label":"github.com/advisories/GHSA-8m3r-rv5g-fcpq","hostname":"github.com","tags":["Advisory"]},{"url":"https://github.com/django/django","label":"github.com/django/django","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2011-11.yaml","label":"github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2011-11.yaml","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2011-31.yaml","label":"github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2011-31.yaml","hostname":"github.com","tags":["WEB"]},{"url":"https://web.archive.org/web/20110521033259/http://secunia.com/advisories/43230","label":"web.archive.org/web/20110521033259/http://secunia.com/advisories/43230","hostname":"web.archive.org","tags":["WEB"]},{"url":"https://web.archive.org/web/20110521033304/http://secunia.com/advisories/43297","label":"web.archive.org/web/20110521033304/http://secunia.com/advisories/43297","hostname":"web.archive.org","tags":["WEB"]},{"url":"https://web.archive.org/web/20110521033309/http://secunia.com/advisories/43382","label":"web.archive.org/web/20110521033309/http://secunia.com/advisories/43382","hostname":"web.archive.org","tags":["WEB"]},{"url":"https://web.archive.org/web/20110521033314/http://secunia.com/advisories/43426","label":"web.archive.org/web/20110521033314/http://secunia.com/advisories/43426","hostname":"web.archive.org","tags":["WEB"]},{"url":"https://web.archive.org/web/20130616104703/http://www.securityfocus.com/bid/46296","label":"web.archive.org/web/20130616104703/http://www.securityfocus.com/bid/46296","hostname":"web.archive.org","tags":["WEB"]},{"url":"http://www.djangoproject.com/weblog/2011/feb/08/security","label":"www.djangoproject.com/weblog/2011/feb/08/security","hostname":"www.djangoproject.com","tags":["WEB"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2011-0697","label":"security-tracker.debian.org/tracker/CVE-2011-0697","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["DSA-2163-1"],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2011-02-14T20:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-06T21:58:26.093Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":18,"level":"low","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-22T18:56:14.411Z","stale":false,"partial":false}}