{"id":"PYSEC-2011-31","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","GHSA-8m3r-rv5g-fcpq","PYSEC-2011-11"],"modified":"2026-05-19T05:26:27.135532712Z","published":"2011-02-14T21:00:03.273Z","references":[{"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://www.securityfocus.com/bid/46296"},{"type":"ADVISORY","url":"http://secunia.com/advisories/43230"},{"type":"ADVISORY","url":"http://secunia.com/advisories/43297"},{"type":"ADVISORY","url":"http://secunia.com/advisories/43382"},{"type":"ADVISORY","url":"http://secunia.com/advisories/43426"},{"type":"ADVISORY","url":"http://www.debian.org/security/2011/dsa-2163"},{"type":"ADVISORY","url":"http://www.mandriva.com/security/advisories?name=MDVSA-2011:031"},{"type":"ADVISORY","url":"http://www.ubuntu.com/usn/USN-1066-1"},{"type":"ADVISORY","url":"http://www.vupen.com/english/advisories/2011/0372"},{"type":"ADVISORY","url":"http://www.vupen.com/english/advisories/2011/0388"},{"type":"ADVISORY","url":"http://www.vupen.com/english/advisories/2011/0429"},{"type":"ADVISORY","url":"http://www.vupen.com/english/advisories/2011/0439"},{"type":"ADVISORY","url":"http://www.vupen.com/english/advisories/2011/0441"},{"type":"FIX","url":"http://openwall.com/lists/oss-security/2011/02/09/6"},{"type":"FIX","url":"http://www.djangoproject.com/weblog/2011/feb/08/security/"},{"type":"FIX","url":"https://bugzilla.redhat.com/show_bug.cgi?id=676359"}],"affected":[{"package":{"name":"django","ecosystem":"PyPI","purl":"pkg:pypi/django"},"database_specific":{"source":"https://github.com/pypa/advisory-database/blob/main/vulns/django/PYSEC-2011-31.yaml"}}],"schema_version":"1.7.5"}