Apache Struts vulnerable to remote command execution (RCE) due to improper input validation
        
  High severity
        
          GitHub Reviewed
      
        Published
          Oct 18, 2018 
          to the GitHub Advisory Database
          •
          Updated Oct 22, 2025 
      
  
Package
Affected versions
>= 2.0.4, <= 2.3.34
      >= 2.5, <= 2.5.16
  Patched versions
2.3.35
      2.5.17
  Description
        Published by the National Vulnerability Database
      Aug 22, 2018 
    
  
        Published to the GitHub Advisory Database
      Oct 18, 2018 
    
  
        Reviewed
      Jun 16, 2020 
    
  
        Last updated
      Oct 22, 2025 
    
  
Apache Struts contains a Remote Code Execution when using results with no namespace and it's upper actions have no or wildcard namespace. The same flaw exists when using a url tag with no value, action set, and it's upper actions have no or wildcard namespace.
References