CVE-2016-2162
MEDIUM 6.1CVSS 3.0Apache Struts XSS Vulnerability
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.
- Published
- 12 Apr 2016
- Last modified
- 17 Jun 2026
- Assigned by
- secalert@redhat.com
- NVD status
- Modified
- Weakness
- CWE-79
- Also known as
- GHSA-2j4q-9fff-236j
- Sources
- NVDJSONOSV GHSA-2j4q-9fff-236jJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.0 | MEDIUM 6.1 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.0 | MEDIUM 6.1 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 4.3 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | apache | strutscpe:2.3:a:apache:struts:2.0.0:*:*:*:*:*:*:* |
= 2.0.0 | |
| NVD | apache | strutscpe:2.3:a:apache:struts:2.0.1:*:*:*:*:*:*:* |
= 2.0.1 | |
| NVD | apache | strutscpe:2.3:a:apache:struts:2.0.2:*:*:*:*:*:*:* |
= 2.0.2 | |
| NVD | apache | strutscpe:2.3:a:apache:struts:2.0.3:*:*:*:*:*:*:* |
= 2.0.3 | |
| NVD | apache | strutscpe:2.3:a:apache:struts:2.0.4:*:*:*:*:*:*:* |
= 2.0.4 | |
| NVD | apache | strutscpe:2.3:a:apache:struts:2.0.5:*:*:*:*:*:*:* |
= 2.0.5 | |
| NVD | apache | strutscpe:2.3:a:apache:struts:2.0.6:*:*:*:*:*:*:* |
= 2.0.6 | |
| NVD | apache | strutscpe:2.3:a:apache:struts:2.0.7:*:*:*:*:*:*:* |
= 2.0.7 | |
| NVD | apache | strutscpe:2.3:a:apache:struts:2.0.8:*:*:*:*:*:*:* |
= 2.0.8 | |
| NVD | apache | strutscpe:2.3:a:apache:struts:2.0.9:*:*:*:*:*:*:* |
= 2.0.9 | |
| NVD | apache | strutscpe:2.3:a:apache:struts:2.0.10:*:*:*:*:*:*:* |
= 2.0.10 | |
| NVD | apache | strutscpe:2.3:a:apache:struts:2.0.11:*:*:*:*:*:*:* |
= 2.0.11 | |
| NVD | apache | strutscpe:2.3:a:apache:struts:2.0.11.1:*:*:*:*:*:*:* |
= 2.0.11.1 | |
| NVD | apache | strutscpe:2.3:a:apache:struts:2.0.11.2:*:*:*:*:*:*:* |
= 2.0.11.2 | |
| NVD | apache | strutscpe:2.3:a:apache:struts:2.0.12:*:*:*:*:*:*:* |
= 2.0.12 | |
| NVD | apache | strutscpe:2.3:a:apache:struts:2.0.13:*:*:*:*:*:*:* |
= 2.0.13 | |
| NVD | apache | strutscpe:2.3:a:apache:struts:2.0.14:*:*:*:*:*:*:* |
= 2.0.14 | |
| NVD | apache | strutscpe:2.3:a:apache:struts:2.1:*:*:*:*:*:*:* |
= 2.1 | |
| NVD | apache | strutscpe:2.3:a:apache:struts:2.1.0:*:*:*:*:*:*:* |
= 2.1.0 | |
| NVD | apache | strutscpe:2.3:a:apache:struts:2.1.1:*:*:*:*:*:*:* |
= 2.1.1 | |
| NVD | apache | strutscpe:2.3:a:apache:struts:2.1.2:*:*:*:*:*:*:* |
= 2.1.2 | |
| NVD | apache | strutscpe:2.3:a:apache:struts:2.1.2_beta:*:*:*:*:*:*:* |
= 2.1.2_beta | |
| NVD | apache | strutscpe:2.3:a:apache:struts:2.1.3:*:*:*:*:*:*:* |
= 2.1.3 | |
| NVD | apache | strutscpe:2.3:a:apache:struts:2.1.4:*:*:*:*:*:*:* |
= 2.1.4 | |
| NVD | apache | strutscpe:2.3:a:apache:struts:2.1.5:*:*:*:*:*:*:* |
= 2.1.5 | |
| NVD | apache | strutscpe:2.3:a:apache:struts:2.1.6:*:*:*:*:*:*:* |
= 2.1.6 | |
| NVD | apache | strutscpe:2.3:a:apache:struts:2.1.8:*:*:*:*:*:*:* |
= 2.1.8 | |
| NVD | apache | strutscpe:2.3:a:apache:struts:2.1.8.1:*:*:*:*:*:*:* |
= 2.1.8.1 | |
| NVD | apache | strutscpe:2.3:a:apache:struts:2.2.1:*:*:*:*:*:*:* |
= 2.2.1 | |
| NVD | apache | strutscpe:2.3:a:apache:struts:2.2.1.1:*:*:*:*:*:*:* |
= 2.2.1.1 | |
| NVD | apache | strutscpe:2.3:a:apache:struts:2.2.3:*:*:*:*:*:*:* |
= 2.2.3 | |
| NVD | apache | strutscpe:2.3:a:apache:struts:2.2.3.1:*:*:*:*:*:*:* |
= 2.2.3.1 | |
| NVD | apache | strutscpe:2.3:a:apache:struts:2.3.1:*:*:*:*:*:*:* |
= 2.3.1 | |
| NVD | apache | strutscpe:2.3:a:apache:struts:2.3.1.1:*:*:*:*:*:*:* |
= 2.3.1.1 | |
| NVD | apache | strutscpe:2.3:a:apache:struts:2.3.1.2:*:*:*:*:*:*:* |
= 2.3.1.2 | |
| NVD | apache | strutscpe:2.3:a:apache:struts:2.3.3:*:*:*:*:*:*:* |
= 2.3.3 | |
| NVD | apache | strutscpe:2.3:a:apache:struts:2.3.4:*:*:*:*:*:*:* |
= 2.3.4 | |
| NVD | apache | strutscpe:2.3:a:apache:struts:2.3.4.1:*:*:*:*:*:*:* |
= 2.3.4.1 | |
| NVD | apache | strutscpe:2.3:a:apache:struts:2.3.7:*:*:*:*:*:*:* |
= 2.3.7 | |
| NVD | apache | strutscpe:2.3:a:apache:struts:2.3.8:*:*:*:*:*:*:* |
= 2.3.8 | |
| NVD | apache | strutscpe:2.3:a:apache:struts:2.3.12:*:*:*:*:*:*:* |
= 2.3.12 | |
| NVD | apache | strutscpe:2.3:a:apache:struts:2.3.14:*:*:*:*:*:*:* |
= 2.3.14 | |
| NVD | apache | strutscpe:2.3:a:apache:struts:2.3.14.1:*:*:*:*:*:*:* |
= 2.3.14.1 | |
| NVD | apache | strutscpe:2.3:a:apache:struts:2.3.14.2:*:*:*:*:*:*:* |
= 2.3.14.2 | |
| NVD | apache | strutscpe:2.3:a:apache:struts:2.3.14.3:*:*:*:*:*:*:* |
= 2.3.14.3 | |
| NVD | apache | strutscpe:2.3:a:apache:struts:2.3.15:*:*:*:*:*:*:* |
= 2.3.15 | |
| NVD | apache | strutscpe:2.3:a:apache:struts:2.3.15.1:*:*:*:*:*:*:* |
= 2.3.15.1 | |
| NVD | apache | strutscpe:2.3:a:apache:struts:2.3.15.2:*:*:*:*:*:*:* |
= 2.3.15.2 | |
| NVD | apache | strutscpe:2.3:a:apache:struts:2.3.15.3:*:*:*:*:*:*:* |
= 2.3.15.3 | |
| NVD | apache | strutscpe:2.3:a:apache:struts:2.3.16:*:*:*:*:*:*:* |
= 2.3.16 | |
| NVD | apache | strutscpe:2.3:a:apache:struts:2.3.16.1:*:*:*:*:*:*:* |
= 2.3.16.1 | |
| NVD | apache | strutscpe:2.3:a:apache:struts:2.3.16.2:*:*:*:*:*:*:* |
= 2.3.16.2 | |
| NVD | apache | strutscpe:2.3:a:apache:struts:2.3.16.3:*:*:*:*:*:*:* |
= 2.3.16.3 | |
| NVD | apache | strutscpe:2.3:a:apache:struts:2.3.20:*:*:*:*:*:*:* |
= 2.3.20 | |
| NVD | apache | strutscpe:2.3:a:apache:struts:2.3.24:*:*:*:*:*:*:* |
= 2.3.24 | |
| NVD | apache | strutscpe:2.3:a:apache:struts:2.3.24.1:*:*:*:*:*:*:* |
= 2.3.24.1 | |
| OSV | Maven | org.apache.struts:struts2-core | >= 2.0.0, < 2.3.28 | 2.3.28 |
References
- http://struts.apache.org/docs/s2-030.html · Vendor Advisory, WEB
- http://www.securityfocus.com/bid/85070
- http://www.securitytracker.com/id/1035272
- https://nvd.nist.gov/vuln/detail/CVE-2016-2162 · ADVISORY
- https://github.com/apache/struts/commit/fc2179cf1ac9fbfb61e3430fa88b641d87253327 · WEB
- https://github.com/apache/struts · PACKAGE
- https://github.com/apache/struts/blob/f511034acd7b97e07d281169b38e2af40c94903d/core/src/main/java/org/apache/struts2/interceptor/I18nInterceptor.java · WEB
- https://web.archive.org/web/20210123095722/http://www.securityfocus.com/bid/85070 · WEB
- https://web.archive.org/web/20210801130539/http://www.securitytracker.com/id/1035272 · WEB
History
- 25 Nov 2026 20:19 UTC · NVD: first stored (published 12 Apr 2016)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 17 May 2022)