Description
Django REST framework (aka django-rest-framework) before 3.9.1 allows XSS because the default DRF Browsable API view templates disable autoescaping.
Metrics
CVSS 3.1 6.1/10
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:NWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
References
- https://github.com/encode/django-rest-framework/commit/4bb9a3c48427867ef1e46f7dee945a4c25a4f9b8Patch, Third Party Advisory
- https://github.com/encode/django-rest-framework/pull/6191Third Party Advisory
- https://github.com/encode/django-rest-framework/pull/6330Third Party Advisory
- https://github.com/encode/django-rest-framework/commit/4bb9a3c48427867ef1e46f7dee945a4c25a4f9b8Patch, Third Party Advisory
- https://github.com/encode/django-rest-framework/pull/6191Third Party Advisory
- https://github.com/encode/django-rest-framework/pull/6330Third Party Advisory
Timeline
- Published
- Jul 23, 2022
- Last modified
- Jun 17, 2026
- NVD status
- Modified