Apache Struts Multiple XSS Vulnerabilities
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 software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Java / Kotlin (Maven) | org.apache.struts:struts2-parent | < 2.2.3 | 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
- Weakness (CWE)
CWE-79- Platform
- Java / Kotlin (Maven)
- Package
org.apache.struts:struts2-parent- Disclosed
- 17.05.2022
- Updated
- 11.10.2026 12:21
Sources and licenses
OSV / GitHub Advisory Database - GHSA-5pgj-r7c6-7c7w - CC BY 4.0
Vulnerability history: org.apache.struts:struts2-parent
All published vulnerabilities of this package (Java / Kotlin (Maven)), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 3
- First → latest
- 05.2022 05.2022
- Without a fix
- 0
- Exploited in attacks
- 0
Severity breakdown
- High 1
- Medium 2
Disclosures per year
- 2022: 3
- 2023: 0
- 2024: 0
- 2025: 0
- 2026: 0
-
Apache Struts Multiple XSS Vulnerabilities this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.