Medium, CVSS 5.3PyPIAmendedPublished
Django Grappelli Open Redirect vulnerability
CVE-2021-46898 · GHSA-9x43-5qcq-h79q
- Affected
- PyPI django-grappelli < 2.15.2
- Fixed in
- 2.15.2· Vendor fix available
- Issue
- 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.
Recommended action: Upgrade to 2.15.2 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.