Incomplete Protection Against Protocol-Relative URL Redirection Vulnerability in Django Grappelli

Incomplete Protection Against Protocol-Relative URL Redirection Vulnerability in Django Grappelli

CVE-2021-46898 · MEDIUM Severity

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

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.

Learn more about our External Network Penetration Testing.