Skip to content

Django Grappelli Open Redirect vulnerability

Moderate severity GitHub Reviewed Published Oct 22, 2023 to the GitHub Advisory Database • Updated Nov 9, 2023

Package

pip django-grappelli (pip)

Affected versions

>= 0, < 2.15.2

Patched versions

2.15.2

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.

References

Published by the National Vulnerability Database Oct 22, 2023
Published to the GitHub Advisory Database Oct 22, 2023
Reviewed Oct 24, 2023
Last updated Nov 9, 2023

Severity

Moderate
6.1
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Weaknesses

CVE ID

CVE-2021-46898

GHSA ID

GHSA-9x43-5qcq-h79q
Checking history
See something to contribute? Suggest improvements for this vulnerability.