Vulnerability advisory

PYSEC-2013-21

Published Updated OSV record ↗

Also known as CVE-2013-6044GHSA-9cwg-mhxf-hh59

Severity

Severity not reported.

Affected versions

AffectedFixed
GIT github.com/django/django ↗
All commits before ec67af0bd609c412b76eaa4cc89968a2a8e5ad6aCommit ec67af0bd609c412b76eaa4cc89968a2a8e5ad6a
Not specifiedCommit ae3535169af804352517b7fea94a42a1c9c4b762
Not specifiedCommit 1a274ccd6bc1afbdac80344c9b6e5810c1162b5f
1.4 to before 1.4.61.4.6Advisories →
1.5 to before 1.5.21.5.2Advisories →
Also listed as affected (18)

Description

The is_safe_url function in utils/http.py in Django 1.4.x before 1.4.6, 1.5.x before 1.5.2, and 1.6 before beta 2 treats a URL's scheme as safe even if it is not HTTP or HTTPS, which might introduce cross-site scripting (XSS) or other vulnerabilities into Django applications that use this function, as demonstrated by "the login view in django.contrib.auth.views" and the javascript: scheme.

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