The caching framework in Django before 1.4.11, 1.5.x before 1.5.6, 1.6.x before 1.6.3, and 1.7.x before 1.7 beta 2 reuses a cached CSRF token for all anonymous users, which allows remote attackers to
The caching framework in Django before 1.4.11, 1.5.x before 1.5.6, 1.6.x before 1.6.3, and 1.7.x before 1.7 beta 2 reuses a cached CSRF token for all anonymous users, which allows remote attackers to bypass CSRF protections by reading the CSRF cookie for anonymous users.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Python (PyPI) | django | < 1.4.11, >= 1.5, < 1.5.6, >= 1.6, < 1.6.3 | 1.4.11, 1.5.6, 1.6.3 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2014-0473
- https://github.com/django/django/commit/1170f285ddd6a94a65f911a27788ba49ca08c0b0
- https://github.com/django/django/commit/6872f42757d7ef6a97e0b6ec5db4d2615d8a2bd8
- https://github.com/django/django/commit/d63e20942f3024f24cb8cd85a49461ba8a9b6736
- https://github.com/django/django
- https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2014-2.yaml
- https://www.djangoproject.com/weblog/2014/apr/21/security
- http://lists.opensuse.org/opensuse-updates/2014-09/msg00023.html
- http://rhn.redhat.com/errata/RHSA-2014-0456.html
- http://rhn.redhat.com/errata/RHSA-2014-0457.html
- http://www.debian.org/security/2014/dsa-2934
- http://www.ubuntu.com/usn/USN-2169-1
- https://www.djangoproject.com/weblog/2014/apr/21/security/
- http://secunia.com/advisories/61281
- https://github.com/advisories/GHSA-89hj-xfx5-7q66
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N- Weakness (CWE)
CWE-200- Platform
- Python (PyPI)
- Package
django- Disclosed
- 23.04.2014
- Updated
- 11.10.2026 12:19
Sources and licenses
OSV / GitHub Advisory Database - GHSA-89hj-xfx5-7q66 - CC BY 4.0
OSV / GitHub Advisory Database - PYSEC-2014-2 - PyPA Advisory Database; CC BY 4.0
Vulnerability history: django
All published vulnerabilities of this package (Python (PyPI)), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 162
- First → latest
- 10.2007 08.2026
- Without a fix
- 1
- Exploited in attacks
- 0
Severity breakdown
- Critical 16
- High 65
- Medium 63
- Low 18
Disclosures per year
- 2017: 3
- 2018: 5
- 2019: 11
- 2020: 6
- 2021: 8
- 2022: 14
- 2023: 7
- 2024: 14
- 2025: 12
- 2026: 26
earlier: 56
-
The caching framework in Django before 1.4.11, 1.5.x before 1.5.6, 1.6.x before 1.6.3, and 1.7.x before 1.7 beta 2 reuses a cached CSRF token for all anonymous users, which allows remote attackers to this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.