MEDIUM 6.1 PyPI

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

GHSA-7fq8-4pv5-5w5c · CVE-2015-2317 · PYSEC-2015-9

Published · Modified

AI SAST

Find this class of vulnerability in your own code

Corgea's AI-native static analysis detects vulnerabilities like this one across your repositories, ranks them by exploitability, and returns review-ready fixes.

Description

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.

Ready to move

Start Securing

Free, no credit card | First findings in minutes