{"id":"CVE-2021-46898","aliases":["GHSA-9x43-5qcq-h79q","PYSEC-2023-211"],"url":"https://o3.security/vulnerability/CVE-2021-46898","summary":"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.","published":"2023-10-22T19:15:08.297Z","modified":"2026-07-09T06:37:12.171208Z","cvss":{"score":6.1,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"},"epss":null,"cisaKev":null,"exploitsKnown":1,"affectedPackages":[{"ecosystem":"PyPI","name":"django-grappelli","fixedVersion":"2.15.2"}],"fix":{"url":"https://github.com/sehmaschine/django-grappelli/commit/4ca94bcda0fa2720594506853d85e00c8212968f","label":"sehmaschine/django-grappelli@4ca94bc"},"references":[{"type":"ADVISORY","url":"https://github.com/sehmaschine/django-grappelli/compare/2.15.1...2.15.2"},{"type":"REPORT","url":"https://github.com/sehmaschine/django-grappelli/issues/975"},{"type":"FIX","url":"https://github.com/sehmaschine/django-grappelli/commit/4ca94bcda0fa2720594506853d85e00c8212968f"},{"type":"FIX","url":"https://github.com/sehmaschine/django-grappelli/pull/976"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-07-09T06:37:12.171208Z"}}