... sure of private data via case-sensitive Cache-Control directives UpdateCacheMiddleware and cache_page() incorrectly cached responses marked with private Cache-Control directives when using mixed or uppercase values (e.g. Private ). The cache_control() dec ... nd patch_cache_control() function were not affected, since they normalize directives to lowercase. This issue only affects responses where Cache-Control is set manually. This issue has severity "low" according to the Django security policy . CVE-2026-3519 ... otential exposure of private data via missing Vary: Authorization UpdateCacheMiddleware and cache_page() decorator allowed responses to requests bearing an Authorization header (and without Cache-Control: public ) to be cached. To conform with the existin ... ... sure of private data via case-sensitive Cache-Control directives UpdateCacheMiddleware and cache_page() incorrectly cached responses marked with private Cache-Control directives when using mixed or uppercase values (e.g. Private ). The cache_control() dec ... nd patch_cache_control() function were not affected, since they normalize directives to lowercase. This issue only affects responses where Cache-Control is set manually. This issue has severity "low" according to the Django security policy . CVE-2026-3519 ... otential exposure of private data via missing Vary: Authorization UpdateCacheMiddleware and cache_page() decorator allowed responses to requests bearing an Authorization header (and without Cache-Control: public ) to be cached. To conform with the existin ... ... ed caching responses that set a cookie while varying on Cookie only when the incoming request contained no cookies at all. When the request alr ... tor accepted newlines in input DomainNameValidator accepted newlines in domain names. If such values were included in HTTP responses, header injection attacks were possible. Django itself wasn't vulnerable because HttpResponse prohibits newlines in HTTP h ... ... e() avoided caching responses that set a cookie while varying on Cookie only when the incoming request contained no cookies at all. When the request alr ... tor accepted newlines in input DomainNameValidator accepted newlines in domain names. If such values were included in HTTP responses, header injection attacks were possible. Django itself wasn't vulnerable because HttpResponse prohibits newlines in HTTP h ... ... you call save() . This can help in high-concurrency operations, and can improve performance. Better support for streaming responses via the new StreamingHttpResponse response class. GeoDjango now supports PostGIS 2.0. ... and more; see below . Wherever p ... tionship can be cached. This is particularly helpful in combination with prefetch_related . Explicit support for streaming responses Before Django 1.5, it was possible to create a streaming response by passing an iterator to HttpResponse . But this was un ... tpResponse does not have a content attribute, middleware that needs access to the response content must test for streaming responses and behave accordingly. {% verbatim %} template tag To make it easier to deal with JavaScript templates which collide with ... ... ... request, extra care is needed when using full-page caching (e.g., Django's cache middleware, CDN caching). Serving cached responses with previously generated nonces may result in reuse across users and requests. Although such responses may still appear t ... defeats the purpose of the nonce and weakens security. To ensure nonce-based policies remain effective: Avoid caching full responses that include {{ csp_nonce }} or csp_nonce_attr . If caching is necessary, use a strategy that injects a fresh nonce on eac ... ... 1.2.2 caused issues with non-ASCII responses using CSRF tokens. The patch also caused issues with some forms, most notably the user-editing forms in the Django adminis ... ... nd, in forms, a hidden value which must be submitted back with the form. The caching framework includes an option to cache responses to anonymous (i.e., unauthenticated) clients. When the first anonymous request to a given page is by a client which did no ... and perform attacks which bypass the check for the cookie. To remedy this, the caching framework will no longer cache such responses. The heuristic for this will be: If the incoming request did not submit any cookies, and If the response did send one or m ... ... nd, in forms, a hidden value which must be submitted back with the form. The caching framework includes an option to cache responses to anonymous (i.e., unauthenticated) clients. When the first anonymous request to a given page is by a client which did no ... and perform attacks which bypass the check for the cookie. To remedy this, the caching framework will no longer cache such responses. The heuristic for this will be: If the incoming request did not submit any cookies, and If the response did send one or m ... 2026年10月08日