{"id":"GHSA-5j2h-h5hg-3wf8","summary":"Cross-site request forgery in Django","details":"Django 1.1.x before 1.1.4 and 1.2.x before 1.2.5 does not properly validate HTTP requests that contain an X-Requested-With header, which makes it easier for remote attackers to conduct cross-site request forgery (CSRF) attacks via forged AJAX requests that leverage a \"combination of browser plugins and redirects,\" a related issue to CVE-2011-0447.","aliases":["CVE-2011-0696","PYSEC-2011-10"],"modified":"2026-06-28T22:56:13.551772857Z","published":"2018-07-23T19:51:10Z","database_specific":{"cwe_ids":["CWE-352"],"severity":"HIGH","github_reviewed":true,"github_reviewed_at":"2020-06-16T21:16:24Z","nvd_published_at":"2011-02-14T21:00:03Z"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2011-0696"},{"type":"WEB","url":"https://github.com/django/django/commit/408c5c873ce1437c7eee9544ff279ecbad7e150a"},{"type":"WEB","url":"https://github.com/django/django/commit/818e70344e7193f6ebc73c82ed574e6ce3c91afc"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=676357"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-5j2h-h5hg-3wf8"},{"type":"PACKAGE","url":"https://github.com/django/django"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2011-10.yaml"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2011-30.yaml"},{"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-5j2h-h5hg-3wf8/GHSA-5j2h-h5hg-3wf8.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-5j2h-h5hg-3wf8/GHSA-5j2h-h5hg-3wf8.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N"}]}