{"id":"GHSA-98hv-qff3-8793","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'.","aliases":["CVE-2020-18704","PYSEC-2021-336"],"modified":"2024-09-16T22:22:44.158160Z","published":"2021-08-30T16:24:08Z","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"},"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"}],"affected":[{"package":{"name":"django-widgy","ecosystem":"PyPI","purl":"pkg:pypi/django-widgy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.9.0"}]}],"versions":["0.1.0","0.1.1","0.1.2","0.1.3","0.1.4","0.1.5","0.1.6","0.2.0","0.3.0","0.3.1","0.3.2","0.3.3","0.3.4","0.3.5","0.4.0","0.5.0","0.6.0","0.6.1","0.7.0","0.7.1","0.7.2","0.7.3","0.7.4","0.8.0","0.8.1","0.8.2","0.8.3","0.8.4"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/08/GHSA-98hv-qff3-8793/GHSA-98hv-qff3-8793.json"}}],"schema_version":"1.9.0","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"}]}