{"id":"CVE-2021-46898","state":"PUBLISHED","title":"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-relativ","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.","publishedAt":"2023-10-22T00:00:00.000Z","updatedAt":"2024-09-16T13:11:11.083Z","severity":null,"assigner":"mitre","products":["n/a n/a"],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":["https://github.com/sehmaschine/django-grappelli/issues/975","https://github.com/sehmaschine/django-grappelli/pull/976","https://github.com/sehmaschine/django-grappelli/commit/4ca94bcda0fa2720594506853d85e00c8212968f","https://github.com/sehmaschine/django-grappelli/compare/2.15.1...2.15.2"],"weaknesses":[],"ingestedAt":"2026-10-29T19:49:16.371Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2021/46xxx/CVE-2021-46898.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2021-46898","state":"PUBLISHED","datePublished":"2023-10-22T00:00:00.000Z","dateUpdated":"2024-09-16T13:11:11.083Z","assignerShortName":"mitre","assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateReserved":"2023-10-22T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":[{"url":"https://github.com/sehmaschine/django-grappelli/issues/975"},{"url":"https://github.com/sehmaschine/django-grappelli/pull/976"},{"url":"https://github.com/sehmaschine/django-grappelli/commit/4ca94bcda0fa2720594506853d85e00c8212968f"},{"url":"https://github.com/sehmaschine/django-grappelli/compare/2.15.1...2.15.2"}],"problemTypes":[{"descriptions":[{"type":"text","lang":"en","description":"n/a"}]}],"providerMetadata":{"shortName":"mitre","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateUpdated":"2023-10-22T18:55:18.177Z"}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://github.com/sehmaschine/django-grappelli/issues/975","tags":["x_transferred"]},{"url":"https://github.com/sehmaschine/django-grappelli/pull/976","tags":["x_transferred"]},{"url":"https://github.com/sehmaschine/django-grappelli/commit/4ca94bcda0fa2720594506853d85e00c8212968f","tags":["x_transferred"]},{"url":"https://github.com/sehmaschine/django-grappelli/compare/2.15.1...2.15.2","tags":["x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-04T05:17:42.976Z"}},{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-09-16T13:10:56.309481Z","id":"CVE-2021-46898","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-09-16T13:11:11.083Z"}}]}}}