{"cve":"CVE-2020-25626","nvd":{"published":"2020-09-30T20:15:15.480","modified":"2026-06-17T03:07:00.257","status":"Modified","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 <script> tags, leading to a cross-site-scripting (XSS) vulnerability.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1},"cwes":["CWE-79","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","https://bugzilla.redhat.com/show_bug.cgi?id=1878635","https://security.netapp.com/advisory/ntap-20201016-0003/"],"products":["debian:debian_linux","encode:django_rest_framework","redhat:ceph_storage"],"source":"nvd","synced_at":"2026-10-19T21:09:53.489947993+00:00"},"epss":{"cve":"CVE-2020-25626","score":0.01297,"percentile":0.70393,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-fx83-3ph3-9j2q","url":"https://osv.dev/vulnerability/GHSA-fx83-3ph3-9j2q","summary":"Cross-site Scripting (XSS) in Django REST Framework","modified":"2024-09-20T15:12:55.355320Z","packages":[{"ecosystem":"PyPI","name":"djangorestframework","purl":"pkg:pypi/djangorestframework","ranges":["<3.11.2"],"fixed":["3.11.2"]}]},{"id":"PYSEC-2020-263","url":"https://osv.dev/vulnerability/PYSEC-2020-263","summary":"","modified":"2023-11-08T04:03:10.467693Z","packages":[{"ecosystem":"PyPI","name":"djangorestframework","purl":"pkg:pypi/djangorestframework","ranges":["<3.11.2"],"fixed":["3.11.2"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}