ADVISORIES

PyPA Advisory Database

PYSEC-2023-211

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