PyPi: Django-Grappelli

CVE-2021-46898

Safety vulnerability ID: 61968

This vulnerability was reviewed by experts

The information on this page was manually curated by our Cybersecurity Intelligence Team.

Created at Oct 22, 2023 Updated at Apr 25, 2024
Scan your Python projects for vulnerabilities →

Advisory

Django-grappelli 2.15.2 includes a fix for CVE-2021-46898: views/switch.py in 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.
https://github.com/sehmaschine/django-grappelli/issues/975

Affected package

django-grappelli

Latest version: 4.0.1

A jazzy skin for the Django Admin-Interface.

Affected versions

Fixed versions

Vulnerability changelog

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. See CVE-2021-46898.


MISC:https://github.com/sehmaschine/django-grappelli/commit/4ca94bcda0fa2720594506853d85e00c8212968f: https://github.com/sehmaschine/django-grappelli/commit/4ca94bcda0fa2720594506853d85e00c8212968f
MISC:https://github.com/sehmaschine/django-grappelli/compare/2.15.1...2.15.2: https://github.com/sehmaschine/django-grappelli/compare/2.15.1...2.15.2
MISC:https://github.com/sehmaschine/django-grappelli/issues/975: https://github.com/sehmaschine/django-grappelli/issues/975
MISC:https://github.com/sehmaschine/django-grappelli/pull/976: https://github.com/sehmaschine/django-grappelli/pull/976

Resources

Use this package?

Scan your Python project for dependency vulnerabilities in two minutes

Scan your application

Severity Details

CVSS Base Score

MEDIUM 6.1

CVSS v3 Details

MEDIUM 6.1
Attack Vector (AV)
NETWORK
Attack Complexity (AC)
LOW
Privileges Required (PR)
NONE
User Interaction (UI)
REQUIRED
Scope (S)
CHANGED
Confidentiality Impact (C)
LOW
Integrity Impact (I)
LOW
Availability Availability (A)
NONE