Feed
6.1MEDIUM

CVE-2017-7233Django open redirect and possible XSS attack via user-supplied numeric redirect URLs

A medium-severity vulnerability reachable over the network, needing no privileges and user interaction. EPSS estimates a 2.4% chance of exploitation in the next 30 days. A fixed version is named.

Exploited in the wild
Not in KEV
EPSS
2.4%
percentile 85%
Priority
20/100 low
how it is computed
Fix
Named by a source
CVE published 4 Apr 2017 (approx.)

Reference

None of the "Needs attention" rules apply right now.

EPSS 2.4% (+2) · Network attack vector (+10) · No privileges required (+5)

Immediate actions

Who should check

  • django (PyPI) pkg:pypi/django

    • Affected>= 1.10a1, < 1.10.7Fixed in1.10.7OSV (GHSA-37hp-765x-j95x)
    • Affected>= 1.9a1, < 1.9.13Fixed in1.9.13OSV (GHSA-37hp-765x-j95x)
    • Affected>= 1.8a1, < 1.8.18Fixed in1.8.18OSV (GHSA-37hp-765x-j95x)
    • Affected>= 1.10, < 1.10.7Fixed in1.10.7OSV (PYSEC-2017-9)
    • Affected>= 1.9, < 1.9.13Fixed in1.9.13OSV (PYSEC-2017-9)
    • Affected>= 1.8, < 1.8.18Fixed in1.8.18OSV (PYSEC-2017-9)

Confirmed facts

CVSS
6.1 MEDIUM (version 3.0)
Score from
GitHub Advisory Database (GHSA-37hp-765x-j95x)
Attack vector
network
Attack complexity
low
Privileges required
none
User interaction
required
Weakness
CWE-601

Unknowns

  • We show one CVSS score. Other sources may score this CVE differently.

Advisory text

Quoted from the source advisory (untrusted)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.

Update history

No events recorded. Our history starts on 1 Jan 2025.

References

Sources

This page is our own presentation: records are shortened, normalised and merged. Licences

Last checked: kev 15 min ago · osv 14 min ago · nvd 14 min ago · epss 14 min ago · JSON · ask via MCP: explain_vulnerability

Also known as GHSA-37hp-765x-j95x, PYSEC-2017-9