{"id":"CVE-2018-25045","aliases":["GHSA-xqcf-hj92-967m","PYSEC-2026-804"],"url":"https://o3.security/vulnerability/CVE-2018-25045","summary":"Django REST framework XSS Vulnerability","details":"Django REST framework (aka django-rest-framework) before 3.9.1 allows XSS because the default DRF Browsable API view templates disable autoescaping.","published":"2022-07-23T02:15:07.267Z","modified":"2026-07-08T20:14:38.967951Z","cvss":{"score":6.1,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"PyPI","name":"django-rest-framework","fixedVersion":"3.9.1"}],"fix":{"url":"https://github.com/encode/django-rest-framework/commit/4bb9a3c48427867ef1e46f7dee945a4c25a4f9b8","label":"encode/django-rest-framework@4bb9a3c"},"references":[{"type":"ADVISORY","url":"https://github.com/encode/django-rest-framework/pull/6191"},{"type":"ADVISORY","url":"https://github.com/encode/django-rest-framework/pull/6330"},{"type":"FIX","url":"https://github.com/encode/django-rest-framework/commit/4bb9a3c48427867ef1e46f7dee945a4c25a4f9b8"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-07-08T20:14:38.967951Z"}}