Is djangorestframework 3.15.1 vulnerable?

djangorestframework 3.15.1, a Python package on PyPI. All 3 versions we track · PyPI page

6 vulnerabilities, 3 high

Upgrade djangorestframework from 3.15.1 to 3.18.2 or later; that fixes all of them.

Known vulnerabilities in djangorestframework 3.15.1

  • High CVSS 7.5

    CVE-2026-114138: Django REST framework: Accept header with many large quoted parameters burns ~19s of CPU per request in content negotiation

    GHSA-33wh-fxxf-88vv · published 22 Oct 2026 · fixed in 3.18.2

  • High CVSS 7.5

    CVE-2026-114136: Django REST framework: JSONParser applies an attacker-named codec to the request stream

    GHSA-3547-9m27-7rxg · published 22 Oct 2026 · fixed in 3.18.2

  • High CVSS 7.4

    CVE-2026-114137: Django REST framework: TokenProxy.delete() reports success and revokes nothing

    GHSA-xw6w-gcfp-cf8m · published 22 Oct 2026 · fixed in 3.18.2

  • Medium CVSS 5.3

    CVE-2026-73228: Django REST framework: Potential bypass of Django `DATA_UPLOAD_MAX_MEMORY_SIZE` when parsing oversized JSON and urlencoded request bodies via DRF `request.data`

    GHSA-2m8g-3cmr-wg3w · published 1 Sep 2026 · fixed in 3.17.2

  • Medium CVSS 4.3

    CVE-2026-73229: Django REST framework: AdminRenderer may disclose GET-protected data when rendering invalid write requests

    GHSA-g47c-3xmw-q6m2 · published 1 Sep 2026 · fixed in 3.17.2

  • Low CVSS 6.1

    CVE-2024-21520: Cross-site Scripting in djangorestframework

    GHSA-gw84-84pc-xp82 · published 26 Jun 2024 · fixed in 3.15.2

How to fix it

With requirements.txt:

# in requirements.txt: change the line to djangorestframework==3.18.2
pip install -r requirements.txt
  • If it is an indirect dependency, upgrade the package that depends on it, or add a minimum version constraint for it (e.g. in constraints.txt, or as a dependency in pyproject.toml).
  • Check the package's changelog for breaking changes (especially across major versions), update the lockfile with the package manager (never by hand), and run your tests.

Other versions of djangorestframework

Newest version we track without known advisories: 3.18.3.

VersionKnown vulnerabilitiesHighest severity
3.18.3 0 None
3.18.2 0 None
3.15.1 (this page) 6 High

Every version of djangorestframework →

Licence

djangorestframework 3.15.1 declares BSD-3-Clause .

Check your whole project

djangorestframework is one package among hundreds in a lockfile. Upload your lockfile, or paste a public GitHub repository, and get every vulnerable package with the version that fixes it. Free, and no account needed.

Get emailed about new advisories for djangorestframework (free, no account)

About this data

Vulnerability data: OSV.dev, last checked 22 November 2026. Licence: deps.dev. AIssue checks the versions on this page every day. Severity comes from the advisory's own rating when it has one, else from its CVSS score.