CVE-2015-2317: Canonical Ubuntu Linux

Medium severity, CVSS 4.3. EPSS: 5.0% probability of exploitation activity in the next 30 days.

The utils.http.is_safe_url function in Django before 1.4.20, 1.5.x, 1.6.x before 1.6.11, 1.7.x before 1.7.7, and 1.8.x before 1.8c1 does not properly validate URLs, which allows remote attackers to conduct cross-site scripting (XSS) attacks via a control character in a URL, as demonstrated by a \x08javascript: URL.

What to do

No fixed version is stated in NVD's or the CNA's structured data. The description says "before 1.4.20", "before 1.6.11", "before 1.7.7"; check the vendor's advisory for the release that fixes it.

Affected products

Affected packages

Published 2015-03-25. Last modified 2026-06-17.