ADVISORIES

Vulnerability

CVE-2021-46898

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.

4 advisories report this vulnerability, across 3 ecosystems.

Medium severity All PyPI 2SUSE 2openSUSE 2

Advisories in PyPI

  • GHSA-9x43-5qcq-h79q

    Django Grappelli Open Redirect vulnerability

    Moderate CVE-2021-46898 PyPI Updated 13 September 2024
  • PYSEC-2023-211

    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.

    CVE-2021-46898 PyPI Updated 10 June 2026

References