{"id":"CVE-2020-18704","aliases":["CVE-2020-18704","GHSA-98hv-qff3-8793","PYSEC-2021-336"],"related":[],"kind":"vulnerability","state":"published","title":"Unrestricted Upload of File with Dangerous Type in django-widgy","summary":"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'.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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'.","source":"cvelist"},{"lang":"es","text":"Una Carga no Restringida de Archivos de Tipo Peligroso en Django-Widgy versión v0.8.4, permite a atacantes remotos ejecutar código arbitrario por medio del widget \"image\" en el componente \"Change Widgy Page\".","source":"nvd"}],"published":"2021-08-16T17:56:05.000Z","modified":"2026-06-17T02:59:25.457Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"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","rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","score":7.5,"rating":"HIGH"}],"cwes":["CWE-434"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"0.9.0"}],"ecosystem":"PyPI","package":"django-widgy","purl":"pkg:pypi/django-widgy","source":"ghsa"},{"ranges":[{"status":"affected","version":"0.8.4"}],"vendor":"fusionbox","product":"widgy","cpe":"cpe:2.3:a:fusionbox:widgy:0.8.4:*:*:*:*:django:*:*","source":"nvd"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"0.9.0"}],"ecosystem":"PyPI","package":"django-widgy","purl":"pkg:pypi/django-widgy","source":"pysec"}],"references":[{"url":"https://github.com/fusionbox/django-widgy/issues/387","tags":["exploit","report","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-18704","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/advisories/GHSA-98hv-qff3-8793","tags":["advisory"],"sources":["ghsa","pysec"]},{"url":"https://github.com/fusionbox/django-widgy","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/django-widgy/PYSEC-2021-336.yaml","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"mitre","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2020-18704","url":"https://www.cve.org/CVERecord?id=CVE-2020-18704","licence":"CVE Terms of Use","modified":"2024-08-04T14:08:29.757Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-98hv-qff3-8793","url":"https://github.com/advisories/GHSA-98hv-qff3-8793","licence":"CC-BY-4.0","modified":"2024-09-16T22:22:44.158Z"},{"source":"nvd","name":"NVD","id":"CVE-2020-18704","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-18704","licence":"Public domain","modified":"2026-06-17T02:59:25.457Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2021-336","url":"https://osv.dev/vulnerability/PYSEC-2021-336","licence":"CC-BY-4.0","modified":"2023-11-08T04:02:44.467Z"}],"updatedAt":"2026-11-25T22:57:58.319Z","epss":{"score":0.0289,"percentile":0.87275,"date":"2026-12-01T12:00:22.000Z"}}