6.1med
CVE-2020-13596
XSS in Django
Also known as GHSA-2m34-jcjv-45xf, PYSEC-2020-32
Published 6 y ago · modified 4 mo ago · JSON
CVSS
6.1
v3.1 · NVD
CISA KEV
No
not known exploited
EPSS
2.9%
percentile 87%
Public exploits
0
none known
Summary
An issue was discovered in Django 2.2 before 2.2.13 and 3.0 before 3.0.7. Query parameters generated by the Django admin ForeignKeyRawIdWidget were not properly URL encoded, leading to a possibility of an XSS attack.
Exploit prediction (EPSS)
2.90% probability of exploitation in the next 30 days, higher than 87% of all scored CVEs.
CVSS scores
| Assigned by | Version | Score | Vector |
|---|---|---|---|
| NVD | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | 2.0 | 4.3 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
| GitHub | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| pypi | django | >=2.2a1, <2.2.13 >=3.0a1, <3.0.7 >=2.2, <2.2.13 >=3.0, <3.0.7 | 2.2.13 3.0.7 |
Classification
- Weakness
- CWE-79 Improper Neutralization of Input During Web Page Generation
- Technology feeds
- Django (RSS, critical only)
References
- usn.ubuntu.com /4381-1/ · vendor-advisory, x_refsource_UBUNTU, x_transferred
- usn.ubuntu.com /4381-2/ · vendor-advisory, x_refsource_UBUNTU, x_transferred
- debian.org /security/2020/dsa-4705 · vendor-advisory, x_refsource_DEBIAN, x_transferred
- lists.fedoraproject.org /archives/list/package-announce%40lists.fedoraproject.org/message/4A2AP4T7RKPBCLTI2NNQG3T6 · vendor-advisory, x_refsource_FEDORA, x_transferred
- oracle.com /security-alerts/cpujan2021.html · x_refsource_MISC, x_transferred
- docs.djangoproject.com /en/3.0/releases/security/ · x_refsource_MISC, x_transferred
- djangoproject.com /weblog/2020/jun/03/security-releases/ · x_refsource_CONFIRM, x_transferred
- security.netapp.com /advisory/ntap-20200611-0002/ · x_refsource_CONFIRM, x_transferred
- groups.google.com /forum/#%21msg/django-announce/pPEmb2ot4Fo/X-SMalYSBAAJ · x_refsource_MISC, x_transferred
- nvd.nist.gov /vuln/detail/CVE-2020-13596 · advisory
- github.com /django/django/commit/1f2dd37f6fcefdd10ed44cb233b2e62b520afb38 · web
- github.com /django/django/commit/6d61860b22875f358fac83d903dc629897934815 · web
- docs.djangoproject.com /en/3.0/releases/security · web
- github.com /advisories/GHSA-2m34-jcjv-45xf · advisory
- github.com /django/django · package
- github.com /pypa/advisory-database/tree/main/vulns/django/PYSEC-2020-32.yaml · web
- groups.google.com /forum/#!msg/django-announce/pPEmb2ot4Fo/X-SMalYSBAAJ · web
- lists.fedoraproject.org /archives/list/package-announce@lists.fedoraproject.org/message/4A2AP4T7RKPBCLTI2NNQG3T6MI · web
- security.netapp.com /advisory/ntap-20200611-0002 · web
- usn.ubuntu.com /4381-1 · web
- usn.ubuntu.com /4381-2 · web
- djangoproject.com /weblog/2020/jun/03/security-releases · web
- lists.fedoraproject.org /archives/list/package-announce@lists.fedoraproject.org/message/4A2AP4T7RKPBCLTI2NNQG3T6MI · web
Sources
- CVE List: CVE-2020-13596
- GitHub Advisory: GHSA-2m34-jcjv-45xf
- NVD: CVE-2020-13596
- OSV: PYSEC-2020-32
vulnwire keeps one entry per vulnerability: the CVE id wins, then GHSA; records that alias each other are merged. Machine-readable: JSON.