Vulnerability · Published Oct 22, 2023 · Assigned by mitre

CVE-2021-46898

Medium 6.1

In plain English

A medium-severity security flaw in the django-grappelli package (PyPI). Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.6% (higher than 46% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS NVD)6.1Medium
Exploit odds (30 days)0.6%top 53.5% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
PyPIdjango-grappelli2.15.2GHSA-9x43-5qcq-h79q
PyPIdjango-grappelli2.15.2PYSEC-2023-211

Affected products (as reported)

VendorProductVersions
n/a n/a n/a

References