{"id":"CVE-2021-46898","published":"2023-10-22T00:00:00Z","modified":"2024-09-16T13:11:11Z","title":"views/switch.py in django-grappelli (aka Django Grappelli) before 2.15.2 attempts to prevent external redirection with…","vendor":null,"product":null,"tier":"tail","description":{"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00555,"percentile":0.39972,"provenance":"source"},"cwes":[],"references":[{"url":"https://github.com/sehmaschine/django-grappelli/issues/975","tags":[]},{"url":"https://github.com/sehmaschine/django-grappelli/pull/976","tags":[]},{"url":"https://github.com/sehmaschine/django-grappelli/commit/4ca94bcda0fa2720594506853d85e00c8212968f","tags":[]},{"url":"https://github.com/sehmaschine/django-grappelli/compare/2.15.1...2.15.2","tags":[]}],"priority":{"score":8.0,"factors":[{"name":"EPSS percentile","points":7.99}]},"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2024-09-16T13:10:56.309481Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"django-grappelli","vulnerableRanges":["<2.15.2"],"patched":["2.15.2"],"from":["GHSA-9x43-5qcq-h79q","PYSEC-2023-211"],"provenance":"source"}],"summary":{"text":"The flaw lives in views/switch.py of the django-grappelli (Django Grappelli) package, in versions before 2.15.2, where an attempted check against external redirection uses startswith(\"/\") and therefore fails to catch protocol-relative URLs such as //example.com.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:14:02Z"},"euvd":{"id":"EUVD-2023-0062","exploited":false,"provenance":"source"}}