... dates ("end-of-life") are not considered valid , even if that version is listed as supported by Django. User input must be sanitized Reports based on a failure to sanitize user input are not valid security vulnerabilities. It is the developer's responsibi ... explained in our security documentation . For example, the following is not considered valid because filename has not been sanitized: from django.core.files.storage import default_storage from django.http import HttpResponse def my_proof_of_concept ( requ ... process user input for these functions. For instance, the following is not considered valid because function has not been sanitized: from django.db.models import Func from django.http import JsonResponse from .models import Book def my_proof_of_concept ( ... ... attacks can originate from any untrusted source of data, including cookies or web services, if the data are not adequately sanitized before being published in a page. Django templates provide protection against the majority of cross-site scripting attacks ... HTML is guaranteed to come from a trusted source - user input is not a trusted source - stored HTML should be checked and sanitized, preferably on input as well as output. Cross-site request forgery (CSRF) protection CSRF 攻撃は悪意ある利用者が、あるユー ... ヘッダーの検証 Django uses the Host header provided by the client to construct URLs in certain cases. While these values are sanitized to prevent cross-site scripting attacks, a fake Host value can be used for cross-site request forgery, cache poisoning att ... 2026年10月08日