---
title: "django/django: functions and files changed by CVE fixes"
url: https://radicalnotion.ai/fixes/django/django
type: fixes-repository
description: "154 CVE fixes in django/django changed 309 functions across 123 files."
updated: 2026-11-03
source: RadicalNotion.AI
license: CC BY-NC 4.0 (https://creativecommons.org/licenses/by-nc/4.0/)
---

# django/django: patched functions

- **CVEs with a located fix:** 154
- **Functions patched:** 309
- **Files patched:** 123
- **Diff hunks:** 1,610
- **Languages:** python, html, javascript
- **Rank by CVE fixes:** 22 of 12,243
- **First fix:** 2007-01-23
- **Latest fix:** 2026-11-03
- **Repository:** [https://github.com/django/django](https://github.com/django/django)

## Typical fix size

- Median lines changed per fix: 29
- Fixes touching a single function: 34%
- Fixes under 20 changed lines: 40%

## Most-patched functions

| Function | File | CVEs | Patches | Last fixed |
| --- | --- | --- | --- | --- |
| [is\_safe\_url](https://radicalnotion.ai/fixes/django/django/is_safe_url) | django/utils/http.py | 4 | 12 | 2015-03-25 |
| [get\_field\_names\_from\_opts](https://radicalnotion.ai/fixes/django/django/get_field_names_from_opts) | django/db/models/sql/query.py | 2 | 8 | 2022-04-12 |
| [\_\_call\_\_](https://radicalnotion.ai/fixes/django/django/__call__) | django/core/validators.py | 5 | 7 | 2023-07-03 |
| [process\_response](https://radicalnotion.ai/fixes/django/django/process_response) | django/middleware/cache.py | 4 | 7 | 2026-07-07 |
| [trim\_punctuation](https://radicalnotion.ai/fixes/django/django/trim_punctuation) | django/utils/html.py | 3 | 7 | 2024-10-08 |
| [parse\_accept\_lang\_header](https://radicalnotion.ai/fixes/django/django/parse_accept_lang_header) | django/utils/translation/trans\_real.py | 3 | 7 | 2024-07-10 |
| [get\_prep\_value](https://radicalnotion.ai/fixes/django/django/get_prep_value) | django/contrib/gis/db/models/fields.py | 3 | 6 | 2026-10-06 |
| [check\_alias](https://radicalnotion.ai/fixes/django/django/check_alias) | django/db/models/sql/query.py | 3 | 6 | 2026-02-03 |
| [get\_available\_name](https://radicalnotion.ai/fixes/django/django/get_available_name) | django/core/files/storage.py | 3 | 6 | 2022-01-04 |
| [deserialize](https://radicalnotion.ai/fixes/django/django/deserialize) | django/contrib/gis/forms/widgets.py | 2 | 6 | 2026-11-03 |
| [\_parse](https://radicalnotion.ai/fixes/django/django/_parse) | django/http/multipartparser.py | 2 | 6 | 2026-11-03 |
| [gettext\_noop](https://radicalnotion.ai/fixes/django/django/gettext_noop) | django/conf/global\_settings.py | 2 | 6 | 2026-06-03 |
| [\_\_init\_\_](https://radicalnotion.ai/fixes/django/django/__init__) | django/forms/fields.py | 2 | 6 | 2025-01-14 |
| [\_unicode\_ci\_compare](https://radicalnotion.ai/fixes/django/django/_unicode_ci_compare) | django/contrib/auth/forms.py | 2 | 6 | 2024-10-08 |
| [\_reverse\_with\_prefix](https://radicalnotion.ai/fixes/django/django/_reverse_with_prefix) | django/core/urlresolvers.py | 2 | 6 | 2014-08-26 |

## Most-patched files

| File | CVEs | Functions |
| --- | --- | --- |
| django/utils/http.py | 11 | 9 |
| django/core/validators.py | 9 | 9 |
| django/utils/html.py | 9 | 7 |
| django/db/models/sql/query.py | 8 | 7 |
| django/utils/text.py | 7 | 8 |
| django/contrib/auth/forms.py | 6 | 12 |
| django/contrib/admin/options.py | 6 | 6 |
| django/utils/translation/trans\_real.py | 5 | 7 |
| django/contrib/sessions/backends/cached\_db.py | 5 | 4 |
| django/contrib/admin/widgets.py | 5 | 3 |

## Latest CVE fixes

| CVE | Title | Severity | CVSS | CISA KEV | Functions changed | Published |
| --- | --- | --- | --- | --- | --- | --- |
| CVE-2026-114582 | Server-side request forgery via SpatialReference string input | medium | 6.9 | No | check\_gdal\_39, AxisOrder, import\_user\_input | 2026-11-03 |
| CVE-2026-113733 | Password hash disclosure to "view only" admin users with custom user models | low | 2.1 | No | display\_for\_field | 2026-11-03 |
| CVE-2026-113593 | Potential exposure of private data via empty and missing Vary headers | low | 2.3 | No | \_generate\_cache\_key | 2026-11-03 |
| CVE-2026-111362 | Server-side request forgery via crs member of GeoJSON geometries | medium | 6.9 | No | ExternalCRSBlocker, GeometryField, from\_json | 2026-11-03 |
| CVE-2026-111211 | Potential log injection via unescaped geometry form values | medium | 6.9 | No | trim\_value, deserialize, log\_message | 2026-11-03 |
| CVE-2026-108147 | Potential memory exhaustion in MultiPartParser via base64-encoded file upload | medium | 6.9 | No | \_parse | 2026-11-03 |
| CVE-2026-87975 | Privilege abuse in model formsets with editable primary keys | medium | 5.3 | No | save\_existing\_objects | 2026-10-06 |
| CVE-2026-87890 | Potential request forgery via spatial lookup byte values | medium | 6.9 | No | check\_raster\_lookup\_value, get\_prep\_value, DisallowedRasterLookup | 2026-10-06 |
| CVE-2026-84429 | Potential denial-of-service vulnerability in HTTP header parsing | medium | 6.9 | No | parse\_header\_parameters, \_parseparam | 2026-10-06 |
| CVE-2026-77050 | Potential denial-of-service vulnerability in get\_supported\_language\_variant() | medium | 6.9 | No | get\_supported\_language\_variant, \_get\_supported\_language\_variant, reset\_cache | 2026-10-06 |
| CVE-2026-15920 | Potential cross-site scripting via URLField values in the admin | medium | 5.1 | No | display\_for\_field | 2026-08-04 |
| CVE-2026-15830 | Potential denial-of-service vulnerability via nested geometry collections | medium | 6.9 | No | read, limit\_wkb, \_\_init\_\_ | 2026-08-04 |

## Frequently asked questions

### How many CVEs have a located fix in django/django?

154 published CVEs have a fix traced to functions in django/django, touching 309 functions across 123 files.

### Which function in django/django has been patched most often?

is\_safe\_url in django/utils/http.py has been changed by 12 distinct patches, fixing 4 CVEs, from 2013 to 2015.

### How large is a typical CVE fix in django/django?

The median fix changes 29 lines. 40% of fixes change 20 lines or fewer, and 34% change a single function.

### How is a fix located to a function?

The upstream fix commit for each CVE is fetched and its diff is split into hunks. Each hunk is attributed to the function, method or type it changes, using the definition the diff itself names. Backports of the same fix to stable branches are counted once.

## Similar repositories

- [openemr/openemr](https://radicalnotion.ai/fixes/openemr/openemr) (156 CVEs)
- [discourse/discourse](https://radicalnotion.ai/fixes/discourse/discourse) (159 CVEs)
- [liferay/liferay-portal](https://radicalnotion.ai/fixes/liferay/liferay-portal) (159 CVEs)
- [WWBN/AVideo](https://radicalnotion.ai/fixes/wwbn/avideo) (159 CVEs)
- [apache/tomcat](https://radicalnotion.ai/fixes/apache/tomcat) (160 CVEs)
- [FreeRDP/FreeRDP](https://radicalnotion.ai/fixes/freerdp/freerdp) (145 CVEs)
- [jenkinsci/jenkins](https://radicalnotion.ai/fixes/jenkinsci/jenkins) (167 CVEs)
- [mattermost/mattermost](https://radicalnotion.ai/fixes/mattermost/mattermost) (141 CVEs)

---

Source: [RadicalNotion.AI](https://radicalnotion.ai/fixes/django/django). Licensed CC BY-NC 4.0; attribute RadicalNotion.AI and link the source page when you reuse this data.
