CVEvulnerability
CVE-2018-25045
6.1 MEDIUM
Official page ↗
- Status
- Modified
- Published
- 2022-07-23
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 6.1 MEDIUM — CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- Weaknesses
- CWE-79
Description
Django REST framework (aka django-rest-framework) before 3.9.1 allows XSS because the default DRF Browsable API view templates disable autoescaping.
Affected configurations
• django-rest-framework django rest framework (< 3.9.1)
Related
Weakness · CWE (1)
- CWE-79 Improper Neutralization of Input During Web Page Generation weakness
References
- 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
- 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