ADVISORIES

GitHub Advisory Database

GHSA-9x43-5qcq-h79q

Django Grappelli Open Redirect vulnerability

Details

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

EcosystemPackageAffected versions
PyPIdjango-grappelli
All versions before 2.15.2 (fixed in 2.15.2)

References