{"cve":"CVE-2021-46898","nvd":{"published":"2023-10-22T19:15:08.297","modified":"2026-06-17T04:15:46.980","status":"Modified","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_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1},"cwes":["CWE-601"],"references":["https://github.com/sehmaschine/django-grappelli/commit/4ca94bcda0fa2720594506853d85e00c8212968f","https://github.com/sehmaschine/django-grappelli/compare/2.15.1...2.15.2","https://github.com/sehmaschine/django-grappelli/issues/975","https://github.com/sehmaschine/django-grappelli/pull/976","https://github.com/sehmaschine/django-grappelli/commit/4ca94bcda0fa2720594506853d85e00c8212968f"],"products":["vonautomatisch:django_grappelli"],"source":"nvd","synced_at":"2026-10-19T21:40:11.519948003+00:00"},"epss":{"cve":"CVE-2021-46898","score":0.00555,"percentile":0.46317,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-9x43-5qcq-h79q","url":"https://osv.dev/vulnerability/GHSA-9x43-5qcq-h79q","summary":"Django Grappelli Open Redirect vulnerability","modified":"2024-09-13T20:24:36.552132Z","packages":[{"ecosystem":"PyPI","name":"django-grappelli","purl":"pkg:pypi/django-grappelli","ranges":["<2.15.2"],"fixed":["2.15.2"]}]},{"id":"PYSEC-2023-211","url":"https://osv.dev/vulnerability/PYSEC-2023-211","summary":"","modified":"2026-06-10T17:00:48.889143500Z","packages":[{"ecosystem":"PyPI","name":"django-grappelli","purl":"pkg:pypi/django-grappelli","ranges":["<2.15.2"],"fixed":["2.15.2"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}