GitHub Advisoryadvisory · PyPI

GHSA-f7cm-ccfp-3q4r Django Incorrectly Validates URLs

HIGH Published 2022-05-14 Modified 2024-09-18 Official page ↗
Aliases
CVE-2014-0480
Ecosystem
PyPI
Packages
Django
Severity
High
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Weaknesses
CWE-20
Reviewed
2023-08-16

Affected packages

• PyPI Django: < 1.4.14 → fixed in 1.4.14 • PyPI Django: >= 1.5, < 1.5.9 → fixed in 1.5.9 • PyPI Django: >= 1.6, < 1.6.6 → fixed in 1.6.6

Description

The `core.urlresolvers.reverse` function in Django before 1.4.14, 1.5.x before 1.5.9, 1.6.x before 1.6.6, and 1.7 before release candidate 3 does not properly validate URLs, which allows remote attackers to conduct phishing attacks via a `//` (slash slash) in a URL, which triggers a scheme-relative URL to be generated.

Related

Alias · CVE (1)

  • CVE-2014-0480 The core.urlresolvers.reverse function in Django before 1.4.14, 1.5.x before 1.5.9, 1.6.x before 1.6.6, and 1.7 before release candidate 3… vulnerability

Weakness · CWE (1)

  • CWE-20 Improper Input Validation weakness

References