Advisory

PYSEC-2023-211

Also known as: CVE-2021-46898, GHSA-9x43-5qcq-h79q

Summary

The record has no summary.

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.

Severity

Not rated by the source.

Dates

Published
2023-10-22 19:15 UTC
Modified
2026-06-10 17:00 UTC

Affected packages and fixes

django-grappelli

PyPI · All systems

Affected

  • introduced 0, fixed 2.15.2 (ecosystem)

Fixed versions

2.15.2

Fix

  • Fixed version 2.15.2
    pip install --upgrade django-grappelli==2.15.2

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences