CVE-2018-25045
Django-rest-framework Django Rest Framework vulnerability
Django REST framework (aka django-rest-framework) before 3.9.1 allows XSS because the default DRF Browsable API view templates disable autoescaping.
Affected products
Django Rest Framework. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Django-rest-framework Django Rest Framework runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/encode/django-rest-framework/commit/4bb9a3c48427867ef1e46f7dee945a4c25a4f9b8 · Patch
- github.com/encode/django-rest-framework/pull/6191 · Third Party Advisory
- github.com/encode/django-rest-framework/pull/6330 · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2018-25045
- cve.org/CVERecord?id=CVE-2018-25045
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.