pysec-2023-211
Vulnerability from pysec
Published
2023-10-22 19:15
Modified
2023-10-22 20:22
Details

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.

Aliases



{
  "affected": [
    {
      "package": {
        "ecosystem": "PyPI",
        "name": "django-grappelli",
        "purl": "pkg:pypi/django-grappelli"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "4ca94bcda0fa2720594506853d85e00c8212968f"
            }
          ],
          "repo": "https://github.com/sehmaschine/django-grappelli",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "2.15.2"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1.3",
        "2.1",
        "2.1.1",
        "2.10.1",
        "2.10.2",
        "2.10.3",
        "2.10.4",
        "2.11.1",
        "2.11.2",
        "2.12.1",
        "2.12.2",
        "2.12.3",
        "2.12.4",
        "2.13.1",
        "2.13.2",
        "2.13.3",
        "2.13.4",
        "2.14.1",
        "2.14.2",
        "2.14.3",
        "2.14.4",
        "2.15.1",
        "2.2",
        "2.3",
        "2.3.1",
        "2.3.2",
        "2.3.3",
        "2.3.4",
        "2.3.5",
        "2.3.6",
        "2.3.7",
        "2.3.8",
        "2.3.9",
        "2.4.0",
        "2.4.1",
        "2.4.10",
        "2.4.11",
        "2.4.12",
        "2.4.2",
        "2.4.3",
        "2.4.4",
        "2.4.5",
        "2.4.6",
        "2.4.7",
        "2.4.8",
        "2.4.9",
        "2.5.0",
        "2.5.1",
        "2.5.2",
        "2.5.3",
        "2.5.4",
        "2.5.5",
        "2.5.6",
        "2.5.7",
        "2.6.1",
        "2.6.2",
        "2.6.3",
        "2.6.4",
        "2.6.5",
        "2.7.1",
        "2.7.2",
        "2.7.3",
        "2.8.1",
        "2.8.2",
        "2.8.3",
        "2.9.1"
      ]
    }
  ],
  "aliases": [
    "CVE-2021-46898"
  ],
  "details": "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.",
  "id": "PYSEC-2023-211",
  "modified": "2023-10-22T20:22:30.994719+00:00",
  "published": "2023-10-22T19:15:00+00:00",
  "references": [
    {
      "type": "FIX",
      "url": "https://github.com/sehmaschine/django-grappelli/commit/4ca94bcda0fa2720594506853d85e00c8212968f"
    },
    {
      "type": "WEB",
      "url": "https://github.com/sehmaschine/django-grappelli/pull/976"
    },
    {
      "type": "WEB",
      "url": "https://github.com/sehmaschine/django-grappelli/compare/2.15.1...2.15.2"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/sehmaschine/django-grappelli/issues/975"
    }
  ]
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading...

Loading...

Loading...
  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.