CVE-2021-46898

Source
https://nvd.nist.gov/vuln/detail/CVE-2021-46898
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-46898.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2021-46898
Aliases
Related
Published
2023-10-22T19:15:08Z
Modified
2025-01-15T02:07:13.959149Z
Severity
  • 6.1 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N CVSS Calculator
Summary
[none]
Details

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

Affected packages

Git / github.com/sehmaschine/django-grappelli

Affected ranges

Type
GIT
Repo
https://github.com/sehmaschine/django-grappelli
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed

Affected versions

2.*

2.10.1
2.10.2
2.11.1
2.11.2
2.11.3
2.12.1
2.12.2
2.12.3
2.13.1
2.13.2
2.13.3
2.14.1
2.14.2
2.14.3
2.14.4
2.15.1
2.3.4
2.3.5
2.3.6
2.3.7
2.3.8
2.4.0
2.4.1
2.4.2
2.4.3
2.4.4
2.4.5
2.4.6
2.4.7
2.5.0
2.5.1
2.5.2
2.5.3
2.5.4
2.6.1
2.6.2
2.6.3
2.6.4
2.6.5
2.7.1
2.7.2
2.7.3
2.8.1
2.8.2
2.9.1