VulnerabilityModified
CVE-2021-46898
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.
MEDIUM 6.1EPSS 0.47%
Does this matter?
Lower severity and a low EPSS score (0.47%). Track it; it rarely justifies an emergency change on its own.
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.
- CVSS 3.1
- 6.1 MEDIUMCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- EPSS
- 0.47% probability · 39th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-601
- Affected
- vonautomatisch/django grappelli
- Source
- cve@mitre.org
References
- https://github.com/sehmaschine/django-grappelli/commit/4ca94bcda0fa2720594506853d85e00c8212968fPatch
- https://github.com/sehmaschine/django-grappelli/compare/2.15.1...2.15.2Release Notes
- https://github.com/sehmaschine/django-grappelli/issues/975Exploit, Issue Tracking
- https://github.com/sehmaschine/django-grappelli/pull/976Patch
- https://github.com/sehmaschine/django-grappelli/commit/4ca94bcda0fa2720594506853d85e00c8212968fPatch
- https://github.com/sehmaschine/django-grappelli/compare/2.15.1...2.15.2Release Notes
- https://github.com/sehmaschine/django-grappelli/issues/975Exploit, Issue Tracking
- https://github.com/sehmaschine/django-grappelli/pull/976Patch
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.