Início
Tendências
Vulnerabilidades
Notícias
Pesquisadores
Por que dbugs?

Ksg97031

#43164de 53,632
6.1CVSS total
Vulnerabilidades · 1
PT-2023-12618
6.1
2023-10-22
Unknown · Django-Grappelli · CVE-2021-46898
**Name of the Vulnerable Software and Affected Versions** django-grappelli versions prior to 2.15.2 **Description** The issue arises from the `views/switch.py` file in django-grappelli, which attempts to prevent external redirection by checking if a URL starts with `/`. However, this approach does not account for protocol-relative URLs, such as `//example.com`, making it vulnerable to attack. **Recommendations** For versions prior to 2.15.2, update to version 2.15.2 or later to resolve the issue. As a temporary workaround, consider restricting the use of the `views/switch.py` file until a patch is available.