NetSight
medium6.1

CVE-2021-46898

Django Grappelli Open Redirect vulnerability

Impact

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.

Affected packages

EcosystemPackageAffectedFixed in
pipdjango-grappelli>= 0, < 2.15.22.15.2

Affected products

VendorProductAffected versions
VonautomatischDjango Grappelli
before 2.15.2

Weakness classification

References