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.
{ "nvd_published_at": "2020-09-30T20:15:00Z", "cwe_ids": [ "CWE-20", "CWE-79" ], "severity": "MODERATE", "github_reviewed": true, "github_reviewed_at": "2021-03-12T23:51:34Z" }