PyPI: django

CVE-2014-0473

Safety vulnerability ID: SFTY-20140423-95641

Safety legacy ID: pyup.io-35511

Django 1.4.11, 1.5.6, 1.6.3 and 1.7b2 include a fix for CVE-2014-0473: 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. https://www.djangoproject.com/weblog/2014/apr/21/security

Created at: Jul 5, 2026Updated at: Jul 5, 2026

Overview

Django Reuses Cached CSRF Token

Advisory

Django 1.4.11, 1.5.6, 1.6.3 and 1.7b2 include a fix for CVE-2014-0473: 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. https://www.djangoproject.com/weblog/2014/apr/21/security

Affected Package

Affecting django package, versions<1.4.11>=1.5a1,<1.5.6>=1.6a1,<1.6.3>=1.7a1,<1.7b2

Also affects

---

How to Fix

Upgradedjangoto1.4.111.5.61.6.31.7or higher.

Mitigation and Workarounds

---

Vulnerable Functions

Functions linked to known vulnerabilities.

Vulnerable function data is available for Enterprise customers

Book a call with us to see Safety in action.

Safety

Verified by Safety

Our Cybersecurity Intelligence Team reviewed this vulnerability. We combine public data with our own research to find issues not yet reported to public sources.

Learn more