SQL Injection in Django
        
  Critical severity
        
          GitHub Reviewed
      
        Published
          Sep 22, 2021 
          to the GitHub Advisory Database
          •
          Updated Sep 20, 2024 
      
  
Package
Affected versions
>= 3.2a1, < 3.2.5
      >= 3.0a1, < 3.1.13
  Patched versions
3.2.5
      3.1.13
  Description
        Published by the National Vulnerability Database
      Jul 2, 2021 
    
  
        Reviewed
      Jul 3, 2021 
    
  
        Published to the GitHub Advisory Database
      Sep 22, 2021 
    
  
        Last updated
      Sep 20, 2024 
    
  
Django 3.1.x before 3.1.13 and 3.2.x before 3.2.5 allows QuerySet.order_by SQL injection if order_by is untrusted input from a client of a web application.
References