CVE-2014-3730
Django Allows Open Redirects
Also known as GHSA-vq3h-3q7v-9prw, PYSEC-2014-20
Mitigation
- Upgrade django to one of 1.4.13, 1.5.8, 1.6.5, 1.7b4 (or later in the same release line).
Who should check
- Projects that depend on PyPI package django (>= 1.4, < 1.4.13)
- Anyone running n/a (versions: see the vendor advisory)
Vulnerability facts
- Affected
- django >= 1.4, < 1.4.13
- Fixed in
- 1.4.13, 1.5.8, 1.6.5, 1.7b4
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 4.3 (v2.0, NVD)AV:N/AC:M/Au:N/C:N/I:P/A:N
Show all 6 CVSS metrics
- Attack vector: Network
- Attack complexity: Medium
- Authentication: None
- Confidentiality impact: None
- Integrity impact: Partial
- Availability impact: None
- EPSS
- 3.14% chance of exploitation in 30 days (percentile 89, 2026-11-26)
- CWE
- CWE-20
- Modified
Description
The django.util.http.is_safe_url function in Django 1.4 before 1.4.13, 1.5 before 1.5.8, 1.6 before 1.6.5, and 1.7 before 1.7b4 does not properly validate URLs, which allows remote attackers to conduct open redirect attacks via a malformed URL, as demonstrated by "http:\\\djangoproject.com."
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| PyPI django | >= 1.4, < 1.4.13 | 1.4.13, 1.5.8, 1.6.5, 1.7b4 | osv |
| n/a | — | — | nvd |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2014-3730. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2014-3730.md Affected: django >= 1.4, < 1.4.13 Fixed in: 1.4.13, 1.5.8, 1.6.5, 1.7b4 Steps: 1. Search this machine and project for django (PyPI), n/a: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
Patches
- https://www.djangoproject.com/weblog/2014/may/14/security-releases-issued/
- https://github.com/django/django/commit/601107524523bca02376a0ddc1a06c6fdb8f22f3
- https://github.com/django/django/commit/7feb54bbae3f637ab3c4dd4831d4385964f574df
- https://github.com/django/django/commit/ad32c218850ad40972dcef57beb460f8c979dd6d
Other
- http://www.securityfocus.com/bid/67410
- http://www.openwall.com/lists/oss-security/2014/05/15/3
- http://www.openwall.com/lists/oss-security/2014/05/14/10
- https://github.com/django/django
- https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2014-20.yaml
- https://web.archive.org/web/20200228171223/http://www.securityfocus.com/bid/67410
- https://www.djangoproject.com/weblog/2014/may/14/security-releases-issued
FAQ
Is CVE-2014-3730 being exploited?
There is no confirmed exploitation: CVE-2014-3730 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 3.14% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2014-3730?
Medium: CVSS 4.3 (v2.0, scored by NVD). Remote, no login needed.
Which versions are affected by CVE-2014-3730?
django >= 1.4, < 1.4.13.
Is there a fix for CVE-2014-3730?
Yes. Fixed in 1.4.13, 1.5.8, 1.6.5, 1.7b4. Upgrade django to one of 1.4.13, 1.5.8, 1.6.5, 1.7b4 (or later in the same release line).
How do I check if I'm affected by CVE-2014-3730?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.