Security mailing lists by PureSourceCode

CVE-2020-25626

MEDIUM 6.1CVSS 3.1

Cross-site Scripting (XSS) in Django REST Framework

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.

Published
30 Sep 2020
Last modified
17 Jun 2026
Assigned by
secalert@redhat.com
NVD status
Modified
Weakness
CWE-20CWE-79
Also known as
GHSA-fx83-3ph3-9j2qPYSEC-2020-263
Sources
NVDJSONOSV GHSA-fx83-3ph3-9j2qJSONOSV PYSEC-2020-263JSON

Scores

SourceScored byVersionScoreVector / decision
OSV GitHub CVSS 4.0 CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 6.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
OSV GitHub CVSS 3.1 MEDIUM 6.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 4.3 AV:N/AC:M/Au:N/C:N/I:P/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD encode django_rest_framework
cpe:2.3:a:encode:django_rest_framework:*:*:*:*:*:*:*:*
< 3.12.0 3.12.0
NVD redhat ceph_storage
cpe:2.3:a:redhat:ceph_storage:2.0:*:*:*:*:*:*:*
= 2.0
NVD debian debian_linux
cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*
= 11.0
OSV PyPI djangorestframework < 3.11.2 3.11.2

References

History

  • 25 Nov 2026 20:32 UTC · NVD: first stored (published 30 Sep 2020)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 30 Sep 2020)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 19 Mar 2021)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.