{
  "schema_version": "1.4.0",
  "id": "GHSA-98hv-qff3-8793",
  "modified": "2024-09-16T22:06:25Z",
  "published": "2021-08-30T16:24:08Z",
  "aliases": [
    "CVE-2020-18704"
  ],
  "summary": "Unrestricted Upload of File with Dangerous Type in django-widgy",
  "details": "Unrestricted Upload of File with Dangerous Type in Django-Widgy v0.8.4 allows remote attackers to execute arbitrary code via the 'image' widget in the component 'Change Widgy Page'.",
  "severity": [
    {
      "type": "CVSS_V3",
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
    },
    {
      "type": "CVSS_V4",
      "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"
    }
  ],
  "affected": [
    {
      "package": {
        "ecosystem": "PyPI",
        "name": "django-widgy"
      },
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "0.9.0"
            }
          ]
        }
      ]
    }
  ],
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2020-18704"
    },
    {
      "type": "WEB",
      "url": "https://github.com/fusionbox/django-widgy/issues/387"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/advisories/GHSA-98hv-qff3-8793"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/fusionbox/django-widgy"
    },
    {
      "type": "WEB",
      "url": "https://github.com/pypa/advisory-database/tree/main/vulns/django-widgy/PYSEC-2021-336.yaml"
    }
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-434"
    ],
    "severity": "CRITICAL",
    "github_reviewed": true,
    "github_reviewed_at": "2021-08-26T19:20:22Z",
    "nvd_published_at": "2021-08-16T18:15:00Z"
  }
}