Vulnerability advisory

CVE-2017-7233

Published Updated OSV record ↗

Also known as GHSA-37hp-765x-j95xPYSEC-2017-9

Severity
  • CVSS 3.xCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Affected versions

Repository

Affected commitsFixed by commit
GIT github.com/django/django ↗
e3c9412d86c3c394e2604e63f3b51c102ae3e3d7 through 320ec4ed27c254a87e09a70601b1b27ae0a0456eNo fix listed
Also listed as affected (38)
  • 1.10.1
  • 1.10.2
  • 1.10.3
  • 1.10.4
  • 1.10.5
  • 1.10.6
  • 1.8.1
  • 1.8.10
  • 1.8.11
  • 1.8.12
  • 1.8.13
  • 1.8.14
  • 1.8.15
  • 1.8.16
  • 1.8.17
  • 1.8.2
  • 1.8.3
  • 1.8.4
  • 1.8.5
  • 1.8.6
  • 1.8.7
  • 1.8.8
  • 1.8.9
  • 1.9
  • 1.9-a1
  • 1.9-rc1
  • 1.9-rc2
  • 1.9.10
  • 1.9.11
  • 1.9.12
  • 1.9.2
  • 1.9.3
  • 1.9.4
  • 1.9.5
  • 1.9.6
  • 1.9.7
  • 1.9.8
  • 1.9.9

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.

References

  • Codex
  • Claude Code
  • VS Code
  • GitHub Copilot
  • Cursor
  • Cline
  • Windsurf
  • Google Anti-gravity
  • OpenCode
  • Pi
  • Gemini CLI
  • Hermes Agent
  • Zed
  • Junie
  • Qwen Code
  • Kiro
  • Kilo Code
  • Factory Droid

Set up GitHits for your agents

Run this command:

<> bash
npx githits@latest init

What happens next:

  1. Opens your browser to authorize GitHits
  2. Asks whether to set up GitHits at the user or project level
  3. Detects your supported AI coding tools
  4. Lets you choose which tools to configure
  5. Configures the selected tools