PyPI (Python)Worst: High8 advisories
djangorestframework: known vulnerabilities
djangorestframework has 8 reviewed security advisories in the GitHub Advisory Database — 3 high, 4 moderate, 1 low. The most recent was published 2026-10-21. Each one below lists the affected version range, the release that fixes it, its CVE and severity. SkyShield matches these against the djangorestframework versions running across your servers, containers and images, and ranks what to patch first.
How to fix djangorestframework
Upgrade djangorestframework to a release at or above the fixed version shown for each advisory below. For PyPI (Python):
pip install --upgrade djangorestframework (pin djangorestframework>=3.18.2)
SkyShield checks the installed version on every machine and container, so you can see which hosts are still on an affected release after you roll the fix out.
Advisories (8)
Django REST framework: Accept header with many large quoted parameters burns ~19s of CPU per request in content negotiation
High 7.5 CWE-400 CWE-407
— Affected: before 3.18.2. Fixed in 3.18.2. Published 2026-10-21. GHSA-33wh-fxxf-88vv · CVE-2026-114138
Django REST framework: JSONParser applies an attacker-named codec to the request stream
High 7.5 CWE-409 CWE-770
— Affected: from 3.6.4 up to 3.18.2. Fixed in 3.18.2. Published 2026-10-21. GHSA-3547-9m27-7rxg · CVE-2026-114136
Django REST framework: TokenProxy.delete() reports success and revokes nothing
High 7.4 CWE-390 CWE-613
— Affected: from 3.12.0 up to 3.18.2. Fixed in 3.18.2. Published 2026-10-21. GHSA-xw6w-gcfp-cf8m · CVE-2026-114137
Django REST framework: Potential bypass of Django `DATA_UPLOAD_MAX_MEMORY_SIZE` when parsing oversized JSON and urlencoded request bodies via DRF `request.data`
Moderate 5.3 CWE-400 CWE-770
— Affected: before 3.17.2. Fixed in 3.17.2. Published 2026-08-11. GHSA-2m8g-3cmr-wg3w · CVE-2026-73228
Django REST framework: AdminRenderer may disclose GET-protected data when rendering invalid write requests
Moderate 4.3 CWE-200
— Affected: before 3.17.2. Fixed in 3.17.2. Published 2026-08-11. GHSA-g47c-3xmw-q6m2 · CVE-2026-73229
Cross-site Scripting in djangorestframework
Low 6.1 CWE-79
— Affected: before 3.15.2. Fixed in 3.15.2. Published 2024-06-26. GHSA-gw84-84pc-xp82 · CVE-2024-21520
Cross-Site Scripting
Moderate
— Affected: before 3.9.1. Fixed in 3.9.1. Published 2021-02-24. GHSA-57h7-r3q3-w57j
Cross-site Scripting (XSS) in Django REST Framework
Moderate 6.1 CWE-20 CWE-79
— Affected: before 3.11.2. Fixed in 3.11.2. Published 2020-09-30. GHSA-fx83-3ph3-9j2q · CVE-2020-25626
Find djangorestframework across your fleet
Install one agent per server and connect your cloud. SkyShield matches your packages and images against GHSA,
CISA KEV and EPSS and shows the fix per machine. Free for one server, then from $49 per server a month.
Start free.