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.
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2018
- CVE-2018-2504SAP NetWeaver AS Java Web Container service does not validat…6.1
- CVE-2018-25040A vulnerability was found in uTorrent Web. It has been decla…8.8
- CVE-2018-25041A vulnerability was found in uTorrent. It has been rated as …8.8
- CVE-2018-25042A vulnerability classified as critical has been found in uTo…8.8
- CVE-2018-25043A vulnerability classified as critical was found in uTorrent…8.8
- CVE-2018-25044A vulnerability, which was classified as critical, has been …8.8
- CVE-2018-25046Due to improper path sanitization, archives containing relat…9.1
- CVE-2018-25047In Smarty before 3.1.47 and 4.x before 4.2.1, libs/plugins/f…5.4
- CVE-2018-25048The CODESYS runtime system in multiple versions allows an re…8.8
- CVE-2018-25049A vulnerability was found in email-existence. It has been ra…7.5
- CVE-2018-2505SAP Commerce does not sufficiently validate user-controlled …
- CVE-2018-25050A vulnerability, which was classified as problematic, has be…6.1
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
