CVE-2016-2162Apache Struts
Medium 6.1 No auth needed
Follow: this CVE · Apache · Apache Struts We alert you by email or Slack (account required).
- Priority
- 52
- CVSS 3.0
- 6.1
- EPSS
- 7.8% probability of exploitation in 30 days · percentile 95
- Auth required
- No
- Published
- Apr 12, 2016
- Updated
- Jun 17, 2026
- Category
- Server · Cross-platform
- Weakness (CWE)
- CWE-79
- Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
What happens
Apache Struts 2.x before 2.3.25 does not sanitize text in the Locale object constructed by I18NInterceptor, which might allow remote attackers to conduct cross-site scripting (XSS) attacks via unspecified vectors involving language display.
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-core |
≥ 2.0.0 < 2.3.28 |
2.3.28 |
— |
Per OSV / GitHub Advisories (GHSA-2j4q-9fff-236j). 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 |
| apache | struts | 2.1.0 |
| apache | struts | 2.1.1 |
| apache | struts | 2.1.2 |
| apache | struts | 2.1.2_beta |
| 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 |
| apache | struts | 2.2.3 |
| apache | struts | 2.2.3.1 |
| apache | struts | 2.3.1 |
| apache | struts | 2.3.1.1 |
| apache | struts | 2.3.1.2 |
| apache | struts | 2.3.3 |
| apache | struts | 2.3.4 |
| apache | struts | 2.3.4.1 |
| apache | struts | 2.3.7 |
| apache | struts | 2.3.8 |
| apache | struts | 2.3.12 |
| apache | struts | 2.3.14 |
| apache | struts | 2.3.14.1 |
| apache | struts | 2.3.14.2 |
| apache | struts | 2.3.14.3 |
| apache | struts | 2.3.15 |
| apache | struts | 2.3.15.1 |
| apache | struts | 2.3.15.2 |
| apache | struts | 2.3.15.3 |
| apache | struts | 2.3.16 |
| apache | struts | 2.3.16.1 |
| apache | struts | 2.3.16.2 |
| apache | struts | 2.3.16.3 |
| apache | struts | 2.3.20 |
| apache | struts | 2.3.24 |
| apache | struts | 2.3.24.1 |
Official sources
References
Links published by the sources. Open them with care.
- struts.apache.org Vendor Advisory
- www.securityfocus.com
- www.securitytracker.com