Description (CNA)
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.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| n/a / Django REST Framework | affected All django-rest-framework versions before 3.12.0 and before 3.11.2 |
CWE
CWE-20
References
- https://bugzilla.redhat.com/show_bug.cgi?id=1878635
- https://security.netapp.com/advisory/ntap-20201016-0003/
- https://www.debian.org/security/2022/dsa-5186
ADP enrichment
No English description supplied.