ADVISORIES

Vulnerability

CVE-2020-25626

A flaw was found in Django REST Framework versions before 3.12.0 and before 3.11.2. When using the browseable API viewer, Django REST Framework fails to properly escape certain strings that can come from user input. This allows a user who can control those strings to inject malicious <script> tags, leading to a cross-site-scripting (XSS) vulnerability.

8 advisories report this vulnerability, across 5 ecosystems.

Advisories

  • DEBIAN-CVE-2020-25626

    A flaw was found in Django REST Framework versions before 3.12.0 and before 3.11.2. When using the browseable API viewer, Django REST Framework fails to properly escape certain strings that can come from user input.…

    CVE-2020-25626 Debian Updated 26 October 2026
  • DSA-5186-1

    djangorestframework - security update

    CVE-2018-25045CVE-2020-25626 Debian Updated 20 November 2026
  • GHSA-fx83-3ph3-9j2q

    Cross-site Scripting (XSS) in Django REST Framework

    Moderate CVE-2020-25626 PyPI Updated 20 September 2024
  • PYSEC-2020-263

    A flaw was found in Django REST Framework versions before 3.12.0 and before 3.11.2. When using the browseable API viewer, Django REST Framework fails to properly escape certain strings that can come from user input.…

    CVE-2020-25626 PyPI Updated 8 November 2023
  • UBUNTU-CVE-2020-25626

    A flaw was found in Django REST Framework versions before 3.12.0 and before 3.11.2. When using the browseable API viewer, Django REST Framework fails to properly escape certain strings that can come from user input.…

    CVE-2020-25626 Ubuntu Updated 17 October 2026
  • openSUSE-SU-2021:0322-1

    Security update for python-djangorestframework

    CVE-2020-25626 openSUSE Updated 4 February 2026
  • openSUSE-SU-2021:0338-1

    Security update for python-djangorestframework

    CVE-2020-25626 SUSE Updated 4 February 2026
  • openSUSE-SU-2026:11571-1

    python313-djangorestframework-3.18.0-1.1 on GA media

    CVE-2020-25626 openSUSE Updated 22 August 2026

References