6.1medium
Django Grappelli Open Redirect vulnerability
- Severity
- 6.1medium CVSS:3.1 by NVD
- Exploit likelihood
- 0.56% (higher than 47% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- mitre
- Also known as
- GHSA-9x43-5qcq-h79qPYSEC-2023-211
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| django-grappelli (PyPI) | before 2.15.2, before 4ca94bcda0fa2720594506853d85e00c8212968f | GitHub Advisory Database, PyPA Advisory Database |
| vonautomatisch django_grappelli | before 2.15.2 | NVD |
All scores
| GitHub | 6.1medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| GitHub | medium CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N |
| NVD | 6.1medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Classification
SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.
What each source says
CVE List
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.
NVD (es)
views/switch.py en django-grappelli (también conocido como Django Grappelli) anterior a 2.15.2 intenta evitar la redirección externa con startwith("/") pero esto no considera un ataque de URL relativo al protocolo (por ejemplo, //example.com) .
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-46898 changed 2024-09-16 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-9x43-5qcq-h79q changed 2024-09-13 | CC-BY-4.0 |
| NVD | CVE-2021-46898 changed 2026-06-17 | Public domain |
| PyPA Advisory Database | PYSEC-2023-211 changed 2026-06-10 | CC-BY-4.0 |