{"id":"CVE-2021-46898","sourceIdentifier":"cve@mitre.org","published":"2023-10-22T19:15:08.297","lastModified":"2026-06-17T04:15:46.980","vulnStatus":"Modified","cveTags":[],"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."},{"lang":"es","value":"views/switch.py en django-grappelli (también conocido como Django Grappelli) anterior a 2.15.2 intenta evitar la redirección externa con startwith(\"/\") pero esto no considera un ataque de URL relativo al protocolo (por ejemplo, //example.com) ."}],"affected":[{"source":"cve@mitre.org","affectedData":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}]}],"metrics":{"cvssMetricV31":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","baseScore":6.1,"baseSeverity":"MEDIUM","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"CHANGED","confidentialityImpact":"LOW","integrityImpact":"LOW","availabilityImpact":"NONE"},"exploitabilityScore":2.8,"impactScore":2.7}],"ssvcV203":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","ssvcData":{"timestamp":"2024-09-16T13:10:56.309481Z","id":"CVE-2021-46898","options":[{"exploitation":"poc"},{"automatable":"no"},{"technicalImpact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}]},"weaknesses":[{"source":"nvd@nist.gov","type":"Primary","description":[{"lang":"en","value":"CWE-601"}]}],"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:vonautomatisch:django_grappelli:*:*:*:*:*:*:*:*","versionEndExcluding":"2.15.2","matchCriteriaId":"01233523-51DB-4BA3-8508-64ED220ACB74"}]}]}],"references":[{"url":"https://github.com/sehmaschine/django-grappelli/commit/4ca94bcda0fa2720594506853d85e00c8212968f","source":"cve@mitre.org","tags":["Patch"]},{"url":"https://github.com/sehmaschine/django-grappelli/compare/2.15.1...2.15.2","source":"cve@mitre.org","tags":["Release Notes"]},{"url":"https://github.com/sehmaschine/django-grappelli/issues/975","source":"cve@mitre.org","tags":["Exploit","Issue Tracking"]},{"url":"https://github.com/sehmaschine/django-grappelli/pull/976","source":"cve@mitre.org","tags":["Patch"]},{"url":"https://github.com/sehmaschine/django-grappelli/commit/4ca94bcda0fa2720594506853d85e00c8212968f","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch"]},{"url":"https://github.com/sehmaschine/django-grappelli/compare/2.15.1...2.15.2","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Release Notes"]},{"url":"https://github.com/sehmaschine/django-grappelli/issues/975","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Exploit","Issue Tracking"]},{"url":"https://github.com/sehmaschine/django-grappelli/pull/976","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch"]}]}