Django REST framework (aka django-rest-framework) before 3.9.1 allows XSS because the default DRF Browsable API view templates disable autoescaping.
References
Link | Resource |
---|---|
https://github.com/encode/django-rest-framework/commit/4bb9a3c48427867ef1e46f7dee945a4c25a4f9b8 | Patch Third Party Advisory |
https://github.com/encode/django-rest-framework/pull/6191 | Third Party Advisory |
https://github.com/encode/django-rest-framework/pull/6330 | Third Party Advisory |
Configurations
History
No history.
Information
Published : 2022-07-23 02:15
Updated : 2024-02-28 19:29
NVD link : CVE-2018-25045
Mitre link : CVE-2018-25045
CVE.ORG link : CVE-2018-25045
JSON object : View
Products Affected
django-rest-framework
- django_rest_framework
CWE
CWE-79
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')