CVE-2011-2087Apache Struts
Medium 4.3 No auth needed
Follow: this CVE · Apache · Apache Struts We alert you by email or Slack (account required).
- Priority
- 41
- CVSS 2.0
- 4.3
- EPSS
- 6.1% probability of exploitation in 30 days · percentile 94
- Auth required
- No
- Published
- May 13, 2011
- Updated
- Jun 16, 2026
- Category
- Server · Cross-platform
- Weakness (CWE)
- CWE-79
- Vector
AV:N/AC:M/Au:N/C:N/I:P/A:N
What happens
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 (1) FileHandler.java, (2) HiddenHandler.java, (3) PasswordHandler.java, (4) RadioHandler.java, (5) ResetHandler.java, (6) SelectHandler.java, (7) SubmitHandler.java, and (8) TextFieldHandler.java.
What to do
- Apply the vendor's security update for Struts.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Maven | org.apache.struts:struts2-parent |
< 2.2.3 |
2.2.3 |
— |
Per OSV / GitHub Advisories (GHSA-5pgj-r7c6-7c7w). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| apache | struts | 2.0.0 |
| apache | struts | 2.0.1 |
| apache | struts | 2.0.2 |
| apache | struts | 2.0.3 |
| apache | struts | 2.0.4 |
| apache | struts | 2.0.5 |
| apache | struts | 2.0.6 |
| apache | struts | 2.0.7 |
| apache | struts | 2.0.8 |
| apache | struts | 2.0.9 |
| apache | struts | 2.0.10 |
| apache | struts | 2.0.11 |
| apache | struts | 2.0.11.1 |
| apache | struts | 2.0.11.2 |
| apache | struts | 2.0.12 |
| apache | struts | 2.0.13 |
| apache | struts | 2.0.14 |
| apache | struts | 2.1.0 |
| apache | struts | 2.1.1 |
| apache | struts | 2.1.2 |
| apache | struts | 2.1.3 |
| apache | struts | 2.1.4 |
| apache | struts | 2.1.5 |
| apache | struts | 2.1.6 |
| apache | struts | 2.1.8 |
| apache | struts | 2.1.8.1 |
| apache | struts | 2.2.1 |
| apache | struts | 2.2.1.1 |
Official sources
References
Links published by the sources. Open them with care.
- struts.apache.org
- www.vupen.com Vendor Advisory
- issues.apache.org Exploit
- issues.apache.org