CVE-2018-25045
MEDIUMCVSS 6.1/10EPSS 0.58%
Last modified
CVE-2018-25045 is a medium-severity vulnerability rated 6.1/10 on the CVSS scale. Django REST framework (aka django-rest-framework) before 3.9.1 allows XSS because the default DRF Browsable API view templates disable autoescaping.. EPSS estimates a 0.58% chance of exploitation in the next 30 days.
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/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Django-Rest-Framework | Django Rest Framework | < 3.9.1 |
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
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2018-25045?
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 a CVSS score of 6.1/10 (MEDIUM severity). The EPSS model estimates a 0.58% probability of exploitation in the next 30 days.
How do I fix CVE-2018-25045?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.
Are you affected by CVE-2018-25045?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
