CVE-2021-46898
JSON

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 packageVersionsReported by
Unspecified productn/aCVE List
django-grappelli (PyPI)before 2.15.2, before 4ca94bcda0fa2720594506853d85e00c8212968fGitHub Advisory Database, PyPA Advisory Database
vonautomatisch django_grappellibefore 2.15.2NVD

All scores

GitHub6.1medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
GitHubmedium CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N
NVD6.1medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Classification

CWE-601

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

SourceRecordLicence
CVE ListCVE-2021-46898 changed 2024-09-16CVE Terms of Use
GitHub Advisory DatabaseGHSA-9x43-5qcq-h79q changed 2024-09-13CC-BY-4.0
NVDCVE-2021-46898 changed 2026-06-17Public domain
PyPA Advisory DatabasePYSEC-2023-211 changed 2026-06-10CC-BY-4.0