Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. Django
  4. ›
  5. CVE-2020-13596

CVE-2020-13596: XSS in Django

June 5, 2020 (updated September 20, 2024)

An issue was discovered in Django version 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.

References

  • docs.djangoproject.com/en/3.0/releases/security
  • github.com/advisories/GHSA-2m34-jcjv-45xf
  • github.com/django/django
  • github.com/django/django/commit/1f2dd37f6fcefdd10ed44cb233b2e62b520afb38
  • github.com/django/django/commit/6d61860b22875f358fac83d903dc629897934815
  • github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2020-32.yaml
  • groups.google.com/forum/
  • lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/4A2AP4T7RKPBCLTI2NNQG3T6MINDUUMZ
  • nvd.nist.gov/vuln/detail/CVE-2020-13596
  • security.netapp.com/advisory/ntap-20200611-0002
  • usn.ubuntu.com/4381-1
  • usn.ubuntu.com/4381-2
  • www.debian.org/security/2020/dsa-4705
  • www.djangoproject.com/weblog/2020/jun/03/security-releases
  • www.oracle.com/security-alerts/cpujan2021.html

Code Behaviors & Features

Detect and mitigate CVE-2020-13596 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 2.2a1 before 2.2.13, all versions starting from 3.0a1 before 3.0.7

Fixed versions

  • 2.2.13
  • 3.0.7

Solution

Upgrade to versions 2.2.13, 3.0.7 or above.

Impact 6.1 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Source file

pypi/Django/CVE-2020-13596.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:38 +0000.