{"api_version":"1","generated_at":"2026-04-27T14:25:30+00:00","cve":"CVE-2020-25626","urls":{"html":"https://cve.report/CVE-2020-25626","api":"https://cve.report/api/cve/CVE-2020-25626.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2020-25626","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2020-25626"},"summary":{"title":"CVE-2020-25626","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.","state":"PUBLIC","assigner":"secalert@redhat.com","published_at":"2020-09-30 20:15:00","updated_at":"2023-11-07 03:20:00"},"problem_types":["CWE-79"],"metrics":[],"references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1878635","name":"https://bugzilla.redhat.com/show_bug.cgi?id=1878635","refsource":"MISC","tags":["Issue Tracking","Vendor Advisory"],"title":"1878635 – (CVE-2020-25626) CVE-2020-25626 django-rest-framework: XSS Vulnerability in API viewer","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://security.netapp.com/advisory/ntap-20201016-0003/","name":"https://security.netapp.com/advisory/ntap-20201016-0003/","refsource":"CONFIRM","tags":[],"title":"CVE-2020-25626 Django Vulnerability in NetApp Products | NetApp Product Security","mime":"text/html","httpstatus":"200","archivestatus":"0"},{"url":"https://www.debian.org/security/2022/dsa-5186","name":"DSA-5186","refsource":"DEBIAN","tags":[],"title":"Debian -- Security Information -- DSA-5186-1 djangorestframework","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2020-25626","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-25626","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2020","cve_id":"25626","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"debian","cpe5":"debian_linux","cpe6":"11.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2020","cve_id":"25626","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"encode","cpe5":"django_rest_framework","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2020","cve_id":"25626","vulnerable":"1","versionEndIncluding":"1","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"encode","cpe5":"django_rest_framework","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2020","cve_id":"25626","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"redhat","cpe5":"ceph_storage","cpe6":"2.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2020","cve_id":"25626","vulnerable":"1","versionEndIncluding":"1","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"redhat","cpe5":"ceph_storage","cpe6":"2.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2020-25626","qid":"180896","title":"Debian Security Update for djangorestframework (DSA 5186-1)"},{"cve":"CVE-2020-25626","qid":"180897","title":"Debian Security Update for djangorestframework (DSA 5186-1)"},{"cve":"CVE-2020-25626","qid":"750351","title":"OpenSUSE Security Update for python-djangorestframework (openSUSE-SU-2021:0322-1)"},{"cve":"CVE-2020-25626","qid":"982897","title":"Python (pip) Security Update for djangorestframework (GHSA-fx83-3ph3-9j2q)"}]},"source_records":{"cve_program":{"data_type":"CVE","data_format":"MITRE","data_version":"4.0","CVE_data_meta":{"ID":"CVE-2020-25626","ASSIGNER":"secalert@redhat.com","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"vendor_name":"n/a","product":{"product_data":[{"product_name":"Django REST Framework","version":{"version_data":[{"version_value":"All django-rest-framework versions before 3.12.0 and before 3.11.2"}]}}]}}]}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-20->CWE-77->CWE-79"}]}]},"references":{"reference_data":[{"refsource":"MISC","name":"https://bugzilla.redhat.com/show_bug.cgi?id=1878635","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1878635"},{"refsource":"CONFIRM","name":"https://security.netapp.com/advisory/ntap-20201016-0003/","url":"https://security.netapp.com/advisory/ntap-20201016-0003/"},{"refsource":"DEBIAN","name":"DSA-5186","url":"https://www.debian.org/security/2022/dsa-5186"}]},"description":{"description_data":[{"lang":"eng","value":"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":{"publishedDate":"2020-09-30 20:15:00","lastModifiedDate":"2023-11-07 03:20:00","problem_types":["CWE-79"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"CHANGED","confidentialityImpact":"LOW","integrityImpact":"LOW","availabilityImpact":"NONE","baseScore":6.1,"baseSeverity":"MEDIUM"},"exploitabilityScore":2.8,"impactScore":2.7},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:N/AC:M/Au:N/C:N/I:P/A:N","accessVector":"NETWORK","accessComplexity":"MEDIUM","authentication":"NONE","confidentialityImpact":"NONE","integrityImpact":"PARTIAL","availabilityImpact":"NONE","baseScore":4.3},"severity":"MEDIUM","exploitabilityScore":8.6,"impactScore":2.9,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":true}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:encode:django_rest_framework:*:*:*:*:*:*:*:*","versionEndExcluding":"3.12.0","cpe_name":[]}]},{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:redhat:ceph_storage:2.0:*:*:*:*:*:*:*","cpe_name":[]}]},{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2020","CveId":"25626","Ordinal":"187043","Title":"CVE-2020-25626","CVE":"CVE-2020-25626","Year":"2020"},"notes":[{"CveYear":"2020","CveId":"25626","Ordinal":"1","NoteData":"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.","Type":"Description","Title":null},{"CveYear":"2020","CveId":"25626","Ordinal":"2","NoteData":"2020-09-30","Type":"Other","Title":"Published"},{"CveYear":"2020","CveId":"25626","Ordinal":"3","NoteData":"2020-10-16","Type":"Other","Title":"Modified"}]}}}