Files
CVEs-PoC/2021/CVE-2021-46898.md
2025-09-29 21:09:30 +02:00

18 lines
707 B
Markdown

### [CVE-2021-46898](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-46898)
![](https://img.shields.io/static/v1?label=Product&message=n%2Fa&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=n%2Fa%20&color=brightgreen)
![](https://img.shields.io/static/v1?label=Vulnerability&message=n%2Fa&color=brightgreen)
### 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.
### POC
#### Reference
- https://github.com/sehmaschine/django-grappelli/issues/975
#### Github
No PoCs found on GitHub currently.