... roject, see the Using CSP documentation. For an HTTP guide about CSP, see the MDN Guide on CSP . 概要 The Content-Security-Policy specification defines two complementary headers: Content-Security-Policy : Enforces the CSP policy, blocking content that ... violates the defined directives. Content-Security-Policy-Report-Only : Reports CSP violations without blocking content, allowing for non-intrusive testing. Each policy is composed ... and their values, which together instruct the browser on how to handle specific types of content. When the ContentSecurityPolicyMiddleware is enabled, Django automatically builds and attaches the appropriate headers to each response based on the confi ... ... ed remote attackers to enumerate users via a timing attack. This issue has severity "low" according to the Django security policy . CVE-2025-14550: Potential denial-of-service vulnerability via repeated headers when using ASGI When receiving duplicates ... omputation resulting in service degradation or outage. This issue has severity "moderate" according to the Django security policy . CVE-2026-1207: Potential SQL injection via raster lookups on PostGIS Raster lookups on GIS fields (only implemented on P ... , all untrusted user input should be validated before use. This issue has severity "high" according to the Django security policy . CVE-2026-1285: Potential denial-of-service vulnerability in django.utils.text.Truncator HTML methods django.utils.text.T ... ... ed remote attackers to enumerate users via a timing attack. This issue has severity "low" according to the Django security policy . CVE-2025-14550: Potential denial-of-service vulnerability via repeated headers when using ASGI When receiving duplicates ... omputation resulting in service degradation or outage. This issue has severity "moderate" according to the Django security policy . CVE-2026-1207: Potential SQL injection via raster lookups on PostGIS Raster lookups on GIS fields (only implemented on P ... , all untrusted user input should be validated before use. This issue has severity "high" according to the Django security policy . CVE-2026-1285: Potential denial-of-service vulnerability in django.utils.text.Truncator HTML methods django.utils.text.T ... ... ed remote attackers to enumerate users via a timing attack. This issue has severity "low" according to the Django security policy . CVE-2025-14550: Potential denial-of-service vulnerability via repeated headers when using ASGI When receiving duplicates ... omputation resulting in service degradation or outage. This issue has severity "moderate" according to the Django security policy . CVE-2026-1207: Potential SQL injection via raster lookups on PostGIS Raster lookups on GIS fields (only implemented on P ... , all untrusted user input should be validated before use. This issue has severity "high" according to the Django security policy . CVE-2026-1285: Potential denial-of-service vulnerability in django.utils.text.Truncator HTML methods django.utils.text.T ... ... ing the behavior of Daphne , the reference server for ASGI. This issue has severity "low" according to the Django security policy . CVE-2026-4277: Privilege abuse in GenericInlineModelAdmin Add permissions on inline model instances were not validated o ... submission of forged POST data in GenericInlineModelAdmin . This issue has severity "low" according to the Django security policy . CVE-2026-4292: Privilege abuse in ModelAdmin.list_editable Admin changelist forms using list_editable incorrectly allowe ... d new instances to be created via forged POST data. This issue has severity "low" according to the Django security policy . CVE-2026-33033: Potential denial-of-service vulnerability in MultiPartParser via base64-encoded file upload When using d ... ... ing the behavior of Daphne , the reference server for ASGI. This issue has severity "low" according to the Django security policy . CVE-2026-4277: Privilege abuse in GenericInlineModelAdmin Add permissions on inline model instances were not validated o ... submission of forged POST data in GenericInlineModelAdmin . This issue has severity "low" according to the Django security policy . CVE-2026-4292: Privilege abuse in ModelAdmin.list_editable Admin changelist forms using list_editable incorrectly allowe ... d new instances to be created via forged POST data. This issue has severity "low" according to the Django security policy . CVE-2026-33033: Potential denial-of-service vulnerability in MultiPartParser via base64-encoded file upload When using d ... ... sp.ContentSecurityPolicyMiddleware" , # ... ] Configure the CSP policies in your settings.py using either SECURE_CSP or SECURE_CSP_REPORT_ONLY (or ... ngs docs provide more details about the differences between these two: from django.utils.csp import CSP # To enforce a CSP policy: SECURE_CSP = { "default-src" : [ CSP . SELF ], # Add more directives to be enforced. } # Or for report-only mode: SECURE_ ... ], # Add more directives as needed. "report-uri" : "/path/to/reports-endpoint/" , } Nonce config To use nonces in your CSP policy, beside the basic config, you need to: Include the NONCE placeholder value in the CSP settings. This only applies to scrip ... ... SALT_FALLBACK to False to reject older cookies immediately. This issue has severity "low" according to the Django security policy . CVE-2026-7666: Potential unencrypted email transmission via STARTTLS in the SMTP backend When using EMAIL_USE_TLS , a fa ... Connections configured with EMAIL_USE_SSL are not affected. This issue has severity "low" according to the Django security policy . CVE-2026-8404: Potential exposure of private data via case-sensitive Cache-Control directives UpdateCacheMiddleware and ... only affects responses where Cache-Control is set manually. This issue has severity "low" according to the Django security policy . CVE-2026-35193: Potential exposure of private data via missing Vary: Authorization UpdateCacheMiddleware and cache_page( ... ... to upload handlers, potentially consuming excessive memory. This issue has severity "low" according to the Django security policy . CVE-2026-111211: Potential log injection via unescaped geometry form values GeometryField and its widgets logged invalid ... logs processed by external systems or viewed in terminals. This issue has severity "low" according to the Django security policy . CVE-2026-111362: Server-side request forgery via crs member of GeoJSON geometries Earlier versions of the GeoJSON spec a ... loading trusted data continue to accept these values. This issue has severity "moderate" according to the Django security policy . CVE-2026-113593: Potential exposure of private data via empty and missing Vary headers UpdateCacheMiddleware and cache_p ... ... ing the behavior of Daphne , the reference server for ASGI. This issue has severity "low" according to the Django security policy . CVE-2026-4277: Privilege abuse in GenericInlineModelAdmin Add permissions on inline model instances were not validated o ... submission of forged POST data in GenericInlineModelAdmin . This issue has severity "low" according to the Django security policy . CVE-2026-4292: Privilege abuse in ModelAdmin.list_editable Admin changelist forms using list_editable incorrectly allowe ... d new instances to be created via forged POST data. This issue has severity "low" according to the Django security policy . CVE-2026-33033: Potential denial-of-service vulnerability in MultiPartParser via base64-encoded file upload When using d ... 2026年10月08日