Vulnerability Description
Django REST framework (aka django-rest-framework) before 3.9.1 allows XSS because the default DRF Browsable API view templates disable autoescaping.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Django-Rest-Framework | Django Rest Framework | < 3.9.1 |
Related Weaknesses (CWE)
References
- https://github.com/encode/django-rest-framework/commit/4bb9a3c48427867ef1e46f7dePatchThird 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/4bb9a3c48427867ef1e46f7dePatchThird Party Advisory
- https://github.com/encode/django-rest-framework/pull/6191Third Party Advisory
- https://github.com/encode/django-rest-framework/pull/6330Third Party Advisory
FAQ
What is CVE-2018-25045?
CVE-2018-25045 is a vulnerability with a CVSS score of 6.1 (MEDIUM). Django REST framework (aka django-rest-framework) before 3.9.1 allows XSS because the default DRF Browsable API view templates disable autoescaping.
How severe is CVE-2018-25045?
CVE-2018-25045 has been rated MEDIUM with a CVSS base score of 6.1/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2018-25045?
Check the references section above for vendor advisories and patch information. Affected products include: Django-Rest-Framework Django Rest Framework.