{"id":"GHSA-8m3r-rv5g-fcpq","summary":"Cross-site scripting in django","details":"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.","aliases":["CVE-2011-0697","PYSEC-2011-11"],"modified":"2026-06-28T22:56:28.716661581Z","published":"2018-07-23T21:01:00Z","database_specific":{"github_reviewed_at":"2020-06-16T21:25:54Z","nvd_published_at":"2011-02-14T21:00:03Z","cwe_ids":["CWE-79"],"severity":"MODERATE","github_reviewed":true},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2011-0697"},{"type":"WEB","url":"https://github.com/django/django/commit/1966786d2dde73e17f39cf340eb33fcb5d73904e"},{"type":"WEB","url":"https://github.com/django/django/commit/1f814a9547842dcfabdae09573055984af9d3fab"},{"type":"WEB","url":"https://github.com/django/django/commit/90be6ca20d607977dec234ec972b77b83955749b"},{"type":"WEB","url":"https://github.com/django/django/commit/a9cf3d23724ff6918103e86aa863eadd1fab811d"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=676359"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-8m3r-rv5g-fcpq"},{"type":"PACKAGE","url":"https://github.com/django/django"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2011-11.yaml"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2011-31.yaml"},{"type":"WEB","url":"https://web.archive.org/web/20110521033259/http://secunia.com/advisories/43230"},{"type":"WEB","url":"https://web.archive.org/web/20110521033304/http://secunia.com/advisories/43297"},{"type":"WEB","url":"https://web.archive.org/web/20110521033309/http://secunia.com/advisories/43382"},{"type":"WEB","url":"https://web.archive.org/web/20110521033314/http://secunia.com/advisories/43426"},{"type":"WEB","url":"https://web.archive.org/web/20130616104703/http://www.securityfocus.com/bid/46296"},{"type":"WEB","url":"http://lists.fedoraproject.org/pipermail/package-announce/2011-February/054207.html"},{"type":"WEB","url":"http://lists.fedoraproject.org/pipermail/package-announce/2011-February/054208.html"},{"type":"WEB","url":"http://openwall.com/lists/oss-security/2011/02/09/6"},{"type":"WEB","url":"http://secunia.com/advisories/43230"},{"type":"WEB","url":"http://secunia.com/advisories/43297"},{"type":"WEB","url":"http://secunia.com/advisories/43382"},{"type":"WEB","url":"http://secunia.com/advisories/43426"},{"type":"WEB","url":"http://www.debian.org/security/2011/dsa-2163"},{"type":"WEB","url":"http://www.djangoproject.com/weblog/2011/feb/08/security"},{"type":"WEB","url":"http://www.mandriva.com/security/advisories?name=MDVSA-2011:031"},{"type":"WEB","url":"http://www.securityfocus.com/bid/46296"},{"type":"WEB","url":"http://www.ubuntu.com/usn/USN-1066-1"},{"type":"WEB","url":"http://www.vupen.com/english/advisories/2011/0372"},{"type":"WEB","url":"http://www.vupen.com/english/advisories/2011/0388"},{"type":"WEB","url":"http://www.vupen.com/english/advisories/2011/0429"},{"type":"WEB","url":"http://www.vupen.com/english/advisories/2011/0439"},{"type":"WEB","url":"http://www.vupen.com/english/advisories/2011/0441"}],"affected":[{"package":{"name":"django","ecosystem":"PyPI","purl":"pkg:pypi/django"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.1"},{"fixed":"1.1.4"}]}],"versions":["1.1","1.1.1","1.1.2","1.1.3"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2018/07/GHSA-8m3r-rv5g-fcpq/GHSA-8m3r-rv5g-fcpq.json"}},{"package":{"name":"django","ecosystem":"PyPI","purl":"pkg:pypi/django"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.2"},{"fixed":"1.2.5"}]}],"versions":["1.2","1.2.1","1.2.2","1.2.3","1.2.4"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2018/07/GHSA-8m3r-rv5g-fcpq/GHSA-8m3r-rv5g-fcpq.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"},{"type":"CVSS_V4","score":"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"}]}