| Package | Affected versions | Patched versions |
|---|---|---|
| org.apache.struts:struts2-core | < 2.2.3 | 2.2.3 |
| struts | = 2.0.0= 2.0.1= 2.0.10= 2.0.11= 2.0.11.1= 2.0.11.2= 2.0.12= 2.0.13= 2.0.14= 2.0.2= 2.0.3= 2.0.4= 2.0.5= 2.0.6= 2.0.7= 2.0.8= 2.0.9= 2.1.0= 2.1.1= 2.1.2= 2.1.3= 2.1.4= 2.1.5= 2.1.6= 2.1.8= 2.1.8.1= 2.2.1= 2.2.1.1 |
Multiple Cross-Site Scripting (XSS) in XWork generated error pages in Apache Struts. By default, XWork doesn't escape action's names in automatically generated error page, allowing for a successful XSS attack. When Dynamic Method Invocation (DMI) is enabled, the action name is generated dynamically base on request parameters. This allows to call non-existing page and method to produce error page with injected code as below. As of Struts 2.2.3 the action names are escaped when automatically generated error pages are rendered.
Running one of these products? Scan your site to see whether it exposes a vulnerable version.
Scan my site free