~ / search / GHSA-7fq8-4pv5-5w5c

GHSA-7fq8-4pv5-5w5c

Django cross-site scripting (XSS) attack via user-supplied redirect URLs

Source: GitHub Advisory Database (reviewed) Moderate CVE-2015-2317

Packages

EcosystemPackageAffectedFixed in
PyPI Django < 1.4.20 1.4.20
PyPI Django >= 1.5, < 1.6.11 1.6.11
PyPI Django >= 1.7, < 1.7.7 1.7.7
PyPI Django >= 1.8a1, < 1.8c1 1.8c1

Details

As written in the advisory (Markdown source, shown as plain text).

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.

References

External links from the advisory. They lead to third-party sites.