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.
Advisories
Source ID Title
Debian DSA Debian DSA DSA-5186-1 djangorestframework security update
EUVD EUVD EUVD-2020-0073 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.
Github GHSA Github GHSA GHSA-fx83-3ph3-9j2q Cross-site Scripting (XSS) in Django REST Framework
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

No history.

cve-icon MITRE

Status: PUBLISHED

Assigner: redhat

Published:

Updated: 2024-08-04T15:40:35.425Z

Reserved: 2020-09-16T00:00:00

Link: CVE-2020-25626

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

Published: 2020-09-30T20:15:15.480

Modified: 2024-11-21T05:18:16.460

Link: CVE-2020-25626

cve-icon Redhat

Severity : Moderate

Publid Date: 2020-09-30T00:00:00Z

Links: CVE-2020-25626 - Bugzilla

cve-icon OpenCVE Enrichment

No data.