Affected versions
Version ranges need review.
- Affected versions
- < 3.9.1
- Fixed version
- 3.9.1
- Affected versions
- <3.9.1
- Fixed version
- 3.9.1
Exploitation
Description
Django REST framework (aka django-rest-framework) before 3.9.1 allows XSS because the default DRF Browsable API view templates disable autoescaping.
Links
- https://github.com/advisories/GHSA-xqcf-hj92-967m
- https://github.com/encode/django-rest-framework
- https://github.com/encode/django-rest-framework/commit/4bb9a3c48427867ef1e46f7dee945a4c25a4f9b8
- https://github.com/encode/django-rest-framework/pull/6191
- https://github.com/encode/django-rest-framework/pull/6330
- https://nvd.nist.gov/vuln/detail/CVE-2018-25045
- https://pypi.org/project/django-rest-framework

