Django REST framework (aka django-rest-framework) before 3.9.1 allows XSS because the default DRF Browsable API view templates disable autoescaping.
References
| Link | Resource |
|---|---|
| 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 |
Configurations
History
21 Nov 2024, 04:03
| Type | Values Removed | Values Added |
|---|---|---|
| References | () https://github.com/encode/django-rest-framework/commit/4bb9a3c48427867ef1e46f7dee945a4c25a4f9b8 - Patch, Third Party Advisory | |
| References | () https://github.com/encode/django-rest-framework/pull/6191 - Third Party Advisory | |
| References | () https://github.com/encode/django-rest-framework/pull/6330 - Third Party Advisory |
29 Jul 2022, 03:31
| Type | Values Removed | Values Added |
|---|---|---|
| References | (MISC) https://github.com/encode/django-rest-framework/commit/4bb9a3c48427867ef1e46f7dee945a4c25a4f9b8 - Patch, Third Party Advisory | |
| References | (MISC) https://github.com/encode/django-rest-framework/pull/6191 - Third Party Advisory | |
| References | (MISC) https://github.com/encode/django-rest-framework/pull/6330 - Third Party Advisory | |
| CPE | cpe:2.3:a:django-rest-framework:django_rest_framework:*:*:*:*:*:*:*:* | |
| CWE | CWE-79 | |
| CVSS |
v2 : v3 : |
v2 : unknown
v3 : 6.1 |
23 Jul 2022, 02:15
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2022-07-23 02:15
Updated : 2024-11-21 04:03
NVD link : CVE-2018-25045
Mitre link : CVE-2018-25045
CVE.ORG link : CVE-2018-25045
JSON object : View
Products Affected
django-rest-framework
- django_rest_framework
CWE
CWE-79
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
