CVE-2020-18704 json
Unrestricted Upload of File with Dangerous Type in django-widgy
published 2021-08-16 5 y ago modified 2026-06-17 4 mo ago also GHSA-98hv-qff3-8793 , PYSEC-2021-336 , EUVD-2021-0060
- cvss
- 9.8
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.9%
- EPSS 2.9% chance of exploitation in 30 days, percentile 86%
- public exploits
- 0
- none known
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'.
Patch / fix
- pypi django-widgy 0.9.0
Exploit prediction
2.89% chance of exploitation in the next 30 days, higher than 86% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/fusionbox/django-widgy/issues/387 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
| GitHub | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | django-widgy | <0.9.0 |
0.9.0 |
Classification
- Weakness
-
- CWE-434 Unrestricted Upload of File with Dangerous Type
References
-
github.com
/fusionbox/django-widgy/issues/387
web, exploit, third-party-advisory, report
-
nvd.nist.gov
/vuln/detail/CVE-2020-18704
advisory
-
github.com
/advisories/GHSA-98hv-qff3-8793
advisory
-
github.com
/fusionbox/django-widgy
package
-
github.com
/pypa/advisory-database/tree/main/vulns/django-widgy/PYSEC-2021-336.yaml
web
Sources
- CVE List CVE-2020-18704
- GitHub Advisory GHSA-98hv-qff3-8793
- NVD CVE-2020-18704
- OSV PYSEC-2021-336
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.