Live threats

All CVEs / Vonautomatisch

CVE-2021-46898Vonautomatisch Django Grappelli

Medium 6.1 No auth needed

Priority
52
CVSS 3.1
6.1
EPSS
0.6%
probability of exploitation in 30 days · percentile 40
Auth required
No
Published
Oct 22, 2023
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-601
SSVC (CISA)
Exploitation: proof of concept · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Django Grappelli.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI django-grappelli < 2.15.2 2.15.2 pip install "django-grappelli>=2.15.2"
PyPI django-grappelli < 2.15.2 2.15.2 pip install "django-grappelli>=2.15.2"

Per OSV / GitHub Advisories (GHSA-9x43-5qcq-h79q, PYSEC-2023-211). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
vonautomatischdjango_grappelli< 2.15.2

Official sources

References

Links published by the sources. Open them with care.