ghsa-pw27-w7w4-9qc7
Vulnerability from github
Published
2022-05-17 01:09
Modified
2024-09-18 16:21
Summary
Django XSS Vulnerability
Details

The utils.http.is_safe_url function in Django before 1.8.10 and 1.9.x before 1.9.3 allows remote attackers to redirect users to arbitrary web sites and conduct phishing attacks or possibly conduct cross-site scripting (XSS) attacks via a URL containing basic authentication, as demonstrated by http://mysite.example.com\@attacker.com.

Show details on source website


{
  "affected": [
    {
      "package": {
        "ecosystem": "PyPI",
        "name": "Django"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.8.10"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "PyPI",
        "name": "Django"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "1.9a1"
            },
            {
              "fixed": "1.9.3"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "aliases": [
    "CVE-2016-2512"
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-79"
    ],
    "github_reviewed": true,
    "github_reviewed_at": "2023-07-31T22:18:51Z",
    "nvd_published_at": "2016-04-08T15:59:00Z",
    "severity": "MODERATE"
  },
  "details": "The `utils.http.is_safe_url function` in Django before 1.8.10 and 1.9.x before 1.9.3 allows remote attackers to redirect users to arbitrary web sites and conduct phishing attacks or possibly conduct cross-site scripting (XSS) attacks via a URL containing basic authentication, as demonstrated by `http://mysite.example.com\\@attacker.com`.",
  "id": "GHSA-pw27-w7w4-9qc7",
  "modified": "2024-09-18T16:21:05Z",
  "published": "2022-05-17T01:09:58Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2016-2512"
    },
    {
      "type": "WEB",
      "url": "https://github.com/django/django/commit/382ab137312961ad62feb8109d70a5a581fe8350"
    },
    {
      "type": "WEB",
      "url": "https://github.com/django/django/commit/c5544d289233f501917e25970c03ed444abbd4f0"
    },
    {
      "type": "WEB",
      "url": "https://github.com/django/django/commit/fc6d147a63f89795dbcdecb0559256470fff4380"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/django/django"
    },
    {
      "type": "WEB",
      "url": "https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2016-15.yaml"
    },
    {
      "type": "WEB",
      "url": "https://web.archive.org/web/20210123090815/http://www.securityfocus.com/bid/83879"
    },
    {
      "type": "WEB",
      "url": "https://web.archive.org/web/20210413200202/http://www.securitytracker.com/id/1035152"
    },
    {
      "type": "WEB",
      "url": "https://www.djangoproject.com/weblog/2016/mar/01/security-releases"
    },
    {
      "type": "WEB",
      "url": "http://rhn.redhat.com/errata/RHSA-2016-0502.html"
    },
    {
      "type": "WEB",
      "url": "http://rhn.redhat.com/errata/RHSA-2016-0504.html"
    },
    {
      "type": "WEB",
      "url": "http://rhn.redhat.com/errata/RHSA-2016-0505.html"
    },
    {
      "type": "WEB",
      "url": "http://rhn.redhat.com/errata/RHSA-2016-0506.html"
    },
    {
      "type": "WEB",
      "url": "http://www.debian.org/security/2016/dsa-3544"
    },
    {
      "type": "WEB",
      "url": "http://www.oracle.com/technetwork/topics/security/bulletinapr2016-2952098.html"
    },
    {
      "type": "WEB",
      "url": "http://www.ubuntu.com/usn/USN-2915-1"
    },
    {
      "type": "WEB",
      "url": "http://www.ubuntu.com/usn/USN-2915-2"
    },
    {
      "type": "WEB",
      "url": "http://www.ubuntu.com/usn/USN-2915-3"
    }
  ],
  "schema_version": "1.4.0",
  "severity": [
    {
      "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:H/A:N",
      "type": "CVSS_V3"
    },
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:N/SI:H/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Django XSS Vulnerability"
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

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