Description
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.
Metrics
CVSS 3.1 6.1/10
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:NWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
References
- https://github.com/sehmaschine/django-grappelli/commit/4ca94bcda0fa2720594506853d85e00c8212968fPatch
- https://github.com/sehmaschine/django-grappelli/compare/2.15.1...2.15.2Release Notes
- https://github.com/sehmaschine/django-grappelli/issues/975Exploit, Issue Tracking
- https://github.com/sehmaschine/django-grappelli/pull/976Patch
- https://github.com/sehmaschine/django-grappelli/commit/4ca94bcda0fa2720594506853d85e00c8212968fPatch
- https://github.com/sehmaschine/django-grappelli/compare/2.15.1...2.15.2Release Notes
- https://github.com/sehmaschine/django-grappelli/issues/975Exploit, Issue Tracking
- https://github.com/sehmaschine/django-grappelli/pull/976Patch
Timeline
- Published
- Oct 22, 2023
- Last modified
- Jun 17, 2026
- NVD status
- Modified