{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2021-46898","id":"CVE-2021-46898","title":"Django Grappelli Open Redirect vulnerability","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.","descriptionLong":"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.","published":"2023-10-22T00:00:00.000Z","updated":"2026-10-20T10:55:11.749662853Z","reserved":"2023-10-22T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"mitre","metric":{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"NVD"},"metrics":[{"version":"4.0","score":null,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N","rating":"medium","source":"GitHub"},{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"NVD"},{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"OSV"},{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"GitHub"}],"rating":"medium","products":[],"affectedProducts":[{"vendor":"n/a","product":"n/a","defaultStatus":null,"versions":[{"version":"n/a","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"PyPI","name":"django-grappelli","purl":"pkg:pypi/django-grappelli","ranges":["<2.15.2"],"fixed":["2.15.2"],"advisory":"GHSA-9x43-5qcq-h79q"}],"cwes":["CWE-601"],"aliases":["GHSA-9x43-5qcq-h79q","PYSEC-2023-211"],"references":[{"url":"https://github.com/sehmaschine/django-grappelli/issues/975","tags":["x_transferred","Exploit","Issue Tracking","report","web"]},{"url":"https://github.com/sehmaschine/django-grappelli/pull/976","tags":["x_transferred","Patch","fix","web"]},{"url":"https://github.com/sehmaschine/django-grappelli/commit/4ca94bcda0fa2720594506853d85e00c8212968f","tags":["x_transferred","Patch","fix","web"]},{"url":"https://github.com/sehmaschine/django-grappelli/compare/2.15.1...2.15.2","tags":["x_transferred","Release Notes","advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-46898","tags":["advisory"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/django-grappelli/PYSEC-2023-211.yaml","tags":["web"]},{"url":"https://github.com/sehmaschine/django-grappelli","tags":["package"]},{"url":"https://github.com/advisories/GHSA-9x43-5qcq-h79q","tags":["advisory"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial"},"epss":0.00555,"epssPercentile":0.47079,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2021-46898","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-46898","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2021-46898","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-9x43-5qcq-h79q","ok":true,"note":"GHSA-9x43-5qcq-h79q"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2021-46898","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":["django"],"critical":[],"attention":null}