Python

djangorestframework

Latest secure version 3.18.3

Web APIs for Django, made easy.

All Versions

Vulnerabilities (Public)

Known vulnerabilities and security issues detected in the extension's dependencies and code.

Vulnerability IDAdvisoryAffected Versions
CVE-2026-114137djangorestframework – Detection of Error Condition Without ActionHigh––
>= 3.12.0, < 3.18.2
CVE-2026-114138djangorestframework – Inefficient Algorithmic ComplexityHigh––
< 3.18.2
CVE-2026-114136djangorestframework – Improper Handling of Highly Compressed Data (Data Amplification)High––
>= 3.6.4, < 3.18.2
CVE-2026-73228djangorestframework – Denial of Service (DoS)Medium––
< 3.17.2
CVE-2026-73229djangorestframework – Information DisclosureMedium––
<= 3.17.1
CVE-2018-25045Djangorestframework 3.9.1 includes a fix for an XSS vulnerability. https://github.com/encode/django-rest-framework/commit/4bb9a3c48427867ef1e46f7dee945a4c25a4f9b8Medium––
<3.9.1
CVE-2020-25626A flaw was found in Django REST Framework versions before 3.12.0 and before 3.11.2. When using the browseable API viewer, Django REST Framework fails to properly escape certain strings that can come f…Medium––
<3.11.2
CVE-2024-21520Affected versions of the package djangorestframework are vulnerable to Cross-site Scripting (XSS) via the break_long_headers template filter due to improper input sanitization before splitting and joi…Low––
<3.15.2

Safety Discovered Vulnerabilities

Additional security issues found by Safety, exclusive to our platform.

Safety discovered vulnerability data is available for Enterprise customers

Book a call with us to see Safety in action.

Vulnerable Functions

Functions linked to known vulnerabilities in this package.

Vulnerable function data is available for Enterprise customers

Book a call with us to see Safety in action.