CVE-2012-1006Apache Struts
Medium 4.3 No auth neededHigh EPSS
Follow: this CVE · Apache · Apache Struts We alert you by email or Slack (account required).
- Priority
- 46
- CVSS 2.0
- 4.3
- EPSS
- 56.6% probability of exploitation in 30 days · percentile 99
- Auth required
- No
- Published
- Feb 7, 2012
- 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 Apache Struts 2.0.14 and 2.2.3 allow remote attackers to inject arbitrary web script or HTML via the (1) name or (2) lastName parameter to struts2-showcase/person/editPerson.action, or the (3) clientName parameter to struts2-rest-showcase/orders.
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.1.2 |
2.1.2 |
— |
| Maven | org.apache.struts:struts2-parent |
≥ 2.2 < 2.2.3.1 |
2.2.3.1 |
— |
Per OSV / GitHub Advisories (GHSA-cmpm-jg8r-fv37). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| apache | struts | 2.0.14 |
| apache | struts | 2.2.3 |
Official sources
References
Links published by the sources. Open them with care.