Invalid HTTP method overrides allow possible XSS or other attacks in Symfony
        
  Critical severity
        
          GitHub Reviewed
      
        Published
          Dec 2, 2019 
          to the GitHub Advisory Database
          •
          Updated Jan 9, 2023 
      
  
Package
Affected versions
>= 2.7.0, < 2.7.51
      >= 2.8.0, < 2.8.50
      >= 3.0.0, < 3.4.26
      >= 4.0.0, < 4.1.12
      >= 4.2.0, < 4.2.7
  Patched versions
2.7.51
      2.8.50
      3.4.26
      4.1.12
      4.2.7
  >= 2.7.0, < 2.7.51
      >= 2.8.0, < 2.8.50
      >= 3.0.0, < 3.4.26
      >= 4.0.0, < 4.1.12
      >= 4.2.0, < 4.2.7
  2.7.51
      2.8.50
      3.4.26
      4.1.12
      4.2.7
  Description
        Reviewed
      Dec 1, 2019 
    
  
        Published to the GitHub Advisory Database
      Dec 2, 2019 
    
  
        Last updated
      Jan 9, 2023 
    
  
In Symfony before 2.7.51, 2.8.x before 2.8.50, 3.x before 3.4.26, 4.x before 4.1.12, and 4.2.x before 4.2.7, HTTP Methods provided as verbs or using the override header may be treated as trusted input, but they are not validated, possibly causing SQL injection or XSS. This is related to symfony/http-foundation.
References