---
title: "CVE-2017-7233\n    | Ubuntu"
description: Ubuntu is an open source software operating system that runs from the
  desktop, to the cloud, to all your internet connected things.
url: https://ubuntu.com/security/CVE-2017-7233?format=md
keywords: index, follow
---

# CVE-2017-7233

Publication date 4 April 2017

Last updated 25 August 2025

---

Ubuntu priority

**Medium**

[Why this priority?](https://ubuntu.com/security/cves/about#priority )

## Cvss 3 Severity Score

**6.1 · Medium**

[Score breakdown](https://ubuntu.com/security/CVE-2017-7233?format=md#impact-score)

Toggle side navigation

## Description

Django 1.10 before 1.10.7, 1.9 before 1.9.13, and 1.8 before 1.8.18 relies
on user input in some cases to redirect the user to an "on success" URL.
The security check for these redirects (namely
``django.utils.http.is\_safe\_url()``) considered some numeric URLs "safe"
when they shouldn't be, aka an open redirect vulnerability. Also, if a
developer relies on ``is\_safe\_url()`` to provide safe redirect targets and
puts such a URL into a link, they could suffer from an XSS attack.

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| python-django | 16.10 yakkety | Fixed 1.8.7-1ubuntu8.2 |
| 16.04 LTS xenial | Fixed 1.8.7-1ubuntu5.5 |
| 14.04 LTS trusty | Fixed 1.6.11-0ubuntu1.1 |
| 12.04 LTS precise | Fixed 1.3.1-4ubuntu1.23 |

---

* [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)
* [What do statuses mean?](https://ubuntu.com/security/cves/about#statuses)

## Severity score breakdown

CVSS version:
CVSS v3.0

**Base score**

6.1 · Medium

* Base metrics

  | Parameter | Value |
  | --- | --- |
  | Attack vector | Network |
  | Attack complexity | Low |
  | Privileges required | None |
  | User interaction | Required |
  | Scope | Changed |
  | Confidentiality impact | Low |
  | Integrity impact | Low |
  | Availability impact | None |
* Scores

  | Parameter | Value |
  | --- | --- |
  | Base score | 6.1 · Medium |
  | Exploitability score | - |
  | Impact score | - |

**Vector:** CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

## References

* [MITRE](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-7233)
* [NVD](https://nvd.nist.gov/vuln/detail/CVE-2017-7233)
* [Launchpad](https://launchpad.net/bugs/cve/CVE-2017-7233)
* [Debian](https://security-tracker.debian.org/tracker/CVE-2017-7233)

### Related Ubuntu Security Notices (USN)

+ [USN-3254-1](https://usn.ubuntu.com/USN-3254-1)
+ Django vulnerabilities
+ 4 April 2017

### Other references

* <https://www.djangoproject.com/weblog/2017/apr/04/security-releases/>
* <https://www.cve.org/CVERecord?id=CVE-2017-7233>
