~ / search / GHSA-9x43-5qcq-h79q

GHSA-9x43-5qcq-h79q

Django Grappelli Open Redirect vulnerability

Source: GitHub Advisory Database (reviewed) Moderate CVE-2021-46898

Packages

EcosystemPackageAffectedFixed in
PyPI django-grappelli < 2.15.2 2.15.2

Details

As written in the advisory (Markdown source, shown as plain text).

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.

References

External links from the advisory. They lead to third-party sites.