GitHub Advisoryadvisory · PyPI

GHSA-9x43-5qcq-h79q Django Grappelli Open Redirect vulnerability

MEDIUM Published 2023-10-22 Modified 2024-09-13 Official page ↗
Aliases
CVE-2021-46898
Ecosystem
PyPI
Packages
django-grappelli
Severity
Moderate
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Weaknesses
CWE-601
Reviewed
2023-10-24

Affected packages

• PyPI django-grappelli: < 2.15.2 → fixed in 2.15.2

Description

views/switch.py in django-grappelli (aka Django Grappelli) before 2.15.2 attempts to prevent external redirection with startswith("/") but this does not consider a protocol-relative URL (e.g., //example.com) attack.

Related

Alias · CVE (1)

  • CVE-2021-46898 views/switch.py in django-grappelli (aka Django Grappelli) before 2.15.2 attempts to prevent external redirection with startswith("/") but… vulnerability

Weakness · CWE (1)

  • CWE-601 URL Redirection to Untrusted Site weakness

References