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

  • 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
  • openSUSE-SU-2023:0384-1

    Security update for python-django-grappelli

    CVE-2021-46898 SUSEopenSUSE Updated 4 February 2026
  • openSUSE-SU-2024:0017-1

    Security update for python-django-grappelli

    CVE-2021-46898 SUSEopenSUSE Updated 4 February 2026

References