Skip to content
OpenAdvisories
Medium openSUSE-SU-2023:0384-1 1 CVE

Security update for python-django-grappelli

Published Nov 30, 2023 · Updated Feb 4, 2026

Summary

This update for python-django-grappelli fixes the following issues:

Update to 2.14.4:

- CVE-2021-46898: Fixed views/switch.py vulnerable to protocol-relative URL attacks (boo#1216481)
- Fixed: Redirect with switch user.
- Improved: Remove extra filtering in AutocompleteLookup.
- Improved: Added import statement with URLs for quickstart docs.
- Improved: Added additional blocks with inlines to allow override.
- Fixed: Compatibility with Django 3.1.
- Fixed: Docs about adding Grappelli documentation URLS.

Fixed packages 2

ReleasePackageFixed in
openSUSE · Leap 15.4 python-django-grappelli 2.14.4-bp154.2.3.1
SUSE · Package Hub 15 SP4 python-django-grappelli 2.14.4-bp154.2.3.1

Vulnerabilities 1

  • Medium 6.1

    Django Grappelli Open Redirect vulnerability

    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

  • report
    https://bugzilla.suse.com/1216481
  • web
    https://www.suse.com/security/cve/CVE-2021-46898