All reports
Medium

Cross-site Scripting (XSS) in Django REST Framework

Affected versions

Version ranges need review.

Affected versions
< 3.11.2
Fixed version
3.11.2
Affected versions
<3.11.2
Fixed version
3.11.2
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2020-25626

Probability of exploitation in the next 30 days: 1.30%

FIRST EPSS · 2026-11-19

Description

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 tags, leading to a cross-site-scripting (XSS) vulnerability.

Links