PyPI package

Django 1.5.9 vulnerabilities, and the version that fixes all of them

Django 1.5.9 has 31 known vulnerabilities (10 rated high or critical); 5.2.17 fixes all of them. Django 1.5 reached end of life on Sep 2, 2014 and gets no more security fixes. Move to Django 5.2 (LTS).

PyPI (opens in a new tab) describes it as “A high-level Python web framework that encourages rapid development and clean, pragmatic design.”

Known vulnerabilities
31
10 rated high or critical
Released
Aug 20, 2014
Latest is 6.1.2
Django 1.5 support
End of life
Since Sep 2, 2014
Licence
BSD-3-Clause
Dependencies
None
Resolved by deps.dev

What to upgrade to

6.1.2 is the closest release with no known vulnerabilities that we checked.

  • 1.11.29

    Newest 1.x release. Released Mar 4, 2020.

    Not checked
  • 5.2.17

    Fixes all 31 known vulnerabilities. Released Aug 4, 2026.

    Not checked
  • 6.1.2Upgrade to this

    Latest release. Released Oct 6, 2026.

    No known vulnerabilities

6.1.2 came out on Oct 6, 2026. A coding agent trained before then doesn’t know it exists, so it may suggest an older release. AI knowledge cutoff dates

Hand the fix to your coding agent

One task with the upgrade, the file to change and why. Paste it into Claude Code, Cursor or Codex.

Findings

Every advisory for Django 1.5.9

Known exploited first (CISA KEV), then by how likely they are to be exploited (FIRST EPSS), then by severity. Each id links to its OSV.dev record.

  1. CriticalCVE-2020-7471 on OSV.dev (opens in a new tab)GHSA-hmr4-m2h5-33qxEPSS: top 1%

    SQL injection in Django.

    Fixed in 1.11.28.

  2. CriticalCVE-2019-19844 on OSV.dev (opens in a new tab)GHSA-vfq6-hq5r-27r6EPSS: top 2%

    Django Potential account hijack via password reset form.

    Fixed in 1.11.27.

  3. CriticalCVE-2025-57833 on OSV.dev (opens in a new tab)GHSA-6w2r-r2m5-xq5wEPSS: top 3%

    Django is subject to SQL injection through its column aliases.

    Fixed in 4.2.24.

  4. CriticalCVE-2025-64459 on OSV.dev (opens in a new tab)GHSA-frmv-pr5f-9mcrEPSS: top 3%

    Django vulnerable to SQL injection via _connector keyword argument in QuerySet and Q objects.

    Fixed in 4.2.26.

  5. CriticalCVE-2015-5143 on OSV.dev (opens in a new tab)GHSA-h582-2pch-3xv3EPSS: top 6%

    Django Denial-of-service by filling session store.

    Fixed in 1.7.9.

  6. WarningCVE-2015-0219 on OSV.dev (opens in a new tab)GHSA-7qfw-j7hp-v45gEPSS: top 6%

    Django before 1.4.18, 1.6.x before 1.6.10, and 1.7.x before 1.7.3 allows remote attackers to spoof WSGI headers by using an _ (underscore) character instead of a - (dash) character in an HTTP header, as demonstrated by an X-Auth_User heade…

    Fixed in 1.6.10.

  7. WarningCVE-2016-9014 on OSV.dev (opens in a new tab)GHSA-3f2c-jm6v-cr35EPSS: top 7%

    Django before 1.8.x before 1.8.16, 1.9.x before 1.9.11, and 1.10.x before 1.10.3, when settings.DEBUG is True, allow remote attackers to conduct DNS rebinding attacks by leveraging failure to validate the HTTP Host header against settings.…

    Fixed in 1.8.16.

  8. CriticalCVE-2016-7401 on OSV.dev (opens in a new tab)GHSA-crhm-qpjc-cm64EPSS: top 8%

    Django CSRF Protection Bypass.

    Fixed in 1.8.15.

  9. WarningCVE-2016-6186 on OSV.dev (opens in a new tab)GHSA-c8c8-9472-w52hEPSS: top 8%

    Django Cross-site scripting Vulnerability.

    Fixed in 1.8.14.

  10. WarningCVE-2015-2317 on OSV.dev (opens in a new tab)GHSA-7fq8-4pv5-5w5cEPSS: top 8%

    Django cross-site scripting (XSS) attack via user-supplied redirect URLs.

    Fixed in 1.6.11.

  11. WarningCVE-2015-0221 on OSV.dev (opens in a new tab)GHSA-jhjg-w2cp-5j44EPSS: top 9%

    The django.views.static.serve view in Django before 1.4.18, 1.6.x before 1.6.10, and 1.7.x before 1.7.3 reads files an entire line at a time, which allows remote attackers to cause a denial of service (memory consumption) via a long line i…

    Fixed in 1.6.10.

  12. WarningCVE-2015-8213 on OSV.dev (opens in a new tab)GHSA-6wcr-wcqm-3mfhEPSS: top 9%

    The get_format function in utils/formats.py in Django before 1.7.x before 1.7.11, 1.8.x before 1.8.7, and 1.9.x before 1.9rc2 might allow remote attackers to obtain sensitive application secrets via a settings key in place of a date/time f…

    Fixed in 1.7.11.

  13. WarningCVE-2016-2512 on OSV.dev (opens in a new tab)GHSA-pw27-w7w4-9qc7EPSS: top 10%

    Django XSS Vulnerability.

    Fixed in 1.8.10.

  14. LowCVE-2016-2513 on OSV.dev (opens in a new tab)GHSA-fp6p-5xvw-m74fEPSS: top 12%

    Django User Enumeration Vulnerability.

    Fixed in 1.8.10.

  15. CriticalCVE-2015-5144 on OSV.dev (opens in a new tab)GHSA-q5qw-4364-5hhmEPSS: top 13%

    Django Vulnerable to HTTP Response Splitting Attack.

    Fixed in 1.7.9.

  16. WarningCVE-2015-0220 on OSV.dev (opens in a new tab)GHSA-gv98-g628-m9x5EPSS: top 13%

    The django.util.http.is_safe_url function in Django before 1.4.18, 1.6.x before 1.6.10, and 1.7.x before 1.7.3 does not properly handle leading whitespaces, which allows remote attackers to conduct cross-site scripting (XSS) attacks via a …

    Fixed in 1.6.10.

  17. WarningCVE-2021-33203 on OSV.dev (opens in a new tab)GHSA-68w8-qjq3-2gfmEPSS: top 14%

    Path Traversal in Django.

    Fixed in 2.2.24.

  18. WarningCVE-2015-0222 on OSV.dev (opens in a new tab)GHSA-6g95-x6cj-mg4vEPSS: top 15%

    ModelMultipleChoiceField in Django 1.6.x before 1.6.10 and 1.7.x before 1.7.3, when show_hidden_initial is set to True, allows remote attackers to cause a denial of service by submitting duplicate values, which triggers a large number of S…

    Fixed in 1.6.10.

  19. WarningCVE-2015-2241 on OSV.dev (opens in a new tab)GHSA-6565-fg86-6jcxEPSS: top 19%

    Django Cross-site Scripting Vulnerability.

    Fixed in 1.7.6.

  20. CriticalCVE-2025-64458 on OSV.dev (opens in a new tab)GHSA-qw25-v68c-qjf3EPSS: top 21%

    Django has a denial-of-service vulnerability in HttpResponseRedirect and HttpResponsePermanentRedirect on Windows.

    Fixed in 4.2.26.

  21. CriticalCVE-2026-15307 on OSV.dev (opens in a new tab)GHSA-wvqv-fj8w-qmhmEPSS: top 34%

    Django GeoDjango spatial lookups allow file writes and outbound requests through GDAL raster parsing.

    Fixed in 5.2.17.

  22. WarningCVE-2026-15830 on OSV.dev (opens in a new tab)GHSA-q238-5cxm-5c9hEPSS: top 35%

    Django GeoDjango vulnerable to denial of service through deeply nested geometry collections.

    Fixed in 5.2.17.

  23. CriticalCVE-2022-36359 on OSV.dev (opens in a new tab)GHSA-8x94-hmjh-97hqEPSS: top 40%

    Django vulnerable to Reflected File Download attack.

    Fixed in 3.2.15.

  24. WarningCVE-2024-45231 on OSV.dev (opens in a new tab)GHSA-rrqc-c2jx-6jgvEPSS: top 45%

    Django allows enumeration of user e-mail addresses.

    Fixed in 4.2.16.

  25. WarningCVE-2025-48432 on OSV.dev (opens in a new tab)GHSA-7xr5-9hcq-chf9EPSS: top 46%

    Django Improper Output Neutralization for Logs vulnerability.

    Fixed in 4.2.22.

  26. WarningCVE-2026-53877 on OSV.dev (opens in a new tab)GHSA-crhf-3pfg-w68wEPSS: top 56%

    Django: GDALRaster may over-read heap memory when constructed from bytes.

    Fixed in 5.2.16.

  27. LowCVE-2026-48588 on OSV.dev (opens in a new tab)GHSA-3h9f-r86x-qvjxEPSS: top 64%

    Django: cache middleware may expose private responses when unrelated request cookies are present.

    Fixed in 5.2.16.

  28. LowCVE-2026-48587 on OSV.dev (opens in a new tab)GHSA-923m-gv2p-w5qpEPSS: top 70%

    Django: has_vary_header may expose cached responses when Vary values contain whitespace.

    Fixed in 5.2.15.

  29. WarningCVE-2026-53878 on OSV.dev (opens in a new tab)GHSA-8qcx-xf44-272xEPSS: top 75%

    Django: DomainNameValidator permits newline characters that may enable HTTP header injection.

    Fixed in 5.2.16.

  30. LowCVE-2026-8404 on OSV.dev (opens in a new tab)GHSA-8cjm-8mp7-r2xfEPSS: top 81%

    Django: UpdateCacheMiddleware may disclose cached responses due to case-sensitive Cache-Control handling.

    Fixed in 5.2.15.

  31. LowCVE-2026-6873 on OSV.dev (opens in a new tab)GHSA-h7pc-vwp9-298gEPSS: top 85%

    Django: signed cookies are vulnerable to salt namespace collisions.

    Fixed in 5.2.15.

Is Django the only one?

Paste a public GitHub repo or drop your requirements.txt or pyproject.toml and see every vulnerable, end-of-life or deprecated dependency, with one fix task. Free, no sign-up.

Check your whole repo

How this page is checked

StackPrism asks OSV.dev which advisories affect exactly Django 1.5.9, merges duplicates filed under several ids, and ranks them with CISA’s Known Exploited Vulnerabilities list and FIRST EPSS. Release dates and deprecation come from deps.dev and PyPI, support dates from endoflife.date. No AI writes this page: every sentence comes from that data, refreshed every few hours.

Last checked against PyPI, OSV.dev (didn’t answer), deps.dev, CISA KEV, FIRST EPSS and endoflife.date. Findings from that source may be missing; this page refreshes soon.