GitHub Advisory Database
GHSA-5pgj-r7c6-7c7w
Apache Struts Multiple XSS Vulnerabilities
Details
Multiple cross-site scripting (XSS) vulnerabilities in component handlers in the javatemplates (aka Java Templates) plugin in Apache Struts 2.x before 2.2.3 allow remote attackers to inject arbitrary web script or HTML via an arbitrary parameter value to a .action URI, related to improper handling of value attributes in
FileHandler.javaHiddenHandler.javaPasswordHandler.javaRadioHandler.javaResetHandler.javaSelectHandler.javaSubmitHandler.javaTextFieldHandler.java
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Maven | org.apache.struts:struts2-parent | All versions before 2.2.3 (fixed in 2.2.3) |
References
- https://nvd.nist.gov/vuln/detail/CVE-2011-2087
- https://github.com/apache/struts/commit/1736b56db702c6639a6d5ae1146dba5a262e3344
- https://github.com/apache/struts
- https://issues.apache.org/jira/browse/WW-3597
- https://issues.apache.org/jira/browse/WW-3608
- http://struts.apache.org/2.2.3/docs/version-notes-223.html