GitHub Advisoryadvisory · PyPI

GHSA-pw27-w7w4-9qc7 Django XSS Vulnerability

MEDIUM Published 2022-05-17 Modified 2024-09-18 Official page ↗
Aliases
CVE-2016-2512
Ecosystem
PyPI
Packages
Django
Severity
Moderate
CVSS vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:H/A:N
Weaknesses
CWE-79
Reviewed
2023-07-31

Affected packages

• PyPI Django: < 1.8.10 → fixed in 1.8.10 • PyPI Django: >= 1.9a1, < 1.9.3 → fixed in 1.9.3

Description

The `utils.http.is_safe_url function` in Django before 1.8.10 and 1.9.x before 1.9.3 allows remote attackers to redirect users to arbitrary web sites and conduct phishing attacks or possibly conduct cross-site scripting (XSS) attacks via a URL containing basic authentication, as demonstrated by `http://mysite.example.com\@attacker.com`.

Related

Alias · CVE (1)

  • CVE-2016-2512 The utils.http.is_safe_url function in Django before 1.8.10 and 1.9.x before 1.9.3 allows remote attackers to redirect users to arbitrary… vulnerability

Weakness · CWE (1)

  • CWE-79 Improper Neutralization of Input During Web Page Generation weakness

References