CVE-2020-25626

  • Severity 6.1 MEDIUM
  • Published
  • Updated
  • Status Modified
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.
Cross-site Scripting
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTPrimary
6.1 MEDIUM
NETWORK
LOW
NONE
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Base Score
CVSS 3.1
EPSS Score
Percentile: 71.34%
Affected Products (NVD)
VendorProductVersion
encodedjango_rest_framework
𝑥
< 3.12.0
redhatceph_storage
2.0
debiandebian_linux
11.0
𝑥
= Vulnerable software versions
Debian logo
Debian Releases
Debian Product
Codename
djangorestframework
bookworm
3.14.0-2+deb12u1
fixed
bullseye
3.12.1-1
fixed
sid
3.15.2-1
fixed
stretch
no-dsa
trixie
3.15.2-1
fixed
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
djangorestframework
bionic
needed
focal
needed
groovy
ignored
hirsute
ignored
impish
ignored
jammy
not-affected
kinetic
ignored
lunar
ignored
mantic
ignored
noble
not-affected
oracular
ignored
plucky
ignored
questing
ignored
resolute
not-affected
stonking
not-affected
trusty
dne
xenial
needed