GitHub Advisoryadvisory · PyPI
GHSA-xqcf-hj92-967m Django REST framework XSS Vulnerability
MEDIUM
Official page ↗
- Aliases
- CVE-2018-25045
- Ecosystem
- PyPI
- Packages
- django-rest-framework
- Severity
- Moderate
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- Weaknesses
- CWE-79
- Reviewed
- 2023-07-25
Affected packages
• PyPI django-rest-framework: < 3.9.1 → fixed in 3.9.1
Description
Django REST framework (aka django-rest-framework) before 3.9.1 allows XSS because the default DRF Browsable API view templates disable autoescaping.
Related
Alias · CVE (1)
- 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… vulnerability
Weakness · CWE (1)
- CWE-79 Improper Neutralization of Input During Web Page Generation weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2018-25045 advisory
- https://github.com/encode/django-rest-framework/pull/6191 web
- https://github.com/encode/django-rest-framework/pull/6330 web
- https://github.com/encode/django-rest-framework/commit/4bb9a3c48427867ef1e46f7dee945a4c25a4f9b8 web
- https://github.com/encode/django-rest-framework package