CVE-2016-2162 json
Apache Struts XSS Vulnerability
published 2016-04-12 10 y ago modified 2026-06-17 4 mo ago also GHSA-2j4q-9fff-236j , EUVD-2022-1999
- cvss
- 6.1
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 7.8%
- EPSS 7.8% chance of exploitation in 30 days, percentile 94%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2016-2162 updated cvss 4.3
struts2: unsanitized text in the Locale object constructed by I18NInterceptor
-
Red Hat JBoss Fuse Service Works 6 struts2-core struts2-corenot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
7.78% chance of exploitation in the next 30 days, higher than 94% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.0 | 6.1 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | 2.0 | 4.3 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
| GitHub | 3.0 | 6.1 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | org.apache.struts:struts2-core | >=2.0.0, <2.3.28 |
2.3.28 |
Classification
- Weakness
-
- CWE-79 Improper Neutralization of Input During Web Page Generation
References
-
github.com
/apache/struts/commit/fc2179cf1ac9fbfb61e3430fa88b641d87253327
web
-
struts.apache.org
/docs/s2-030.html
web, vendor-advisory
-
securitytracker.com
/id/1035272
vdb-entry
-
securityfocus.com
/bid/85070
vdb-entry
-
nvd.nist.gov
/vuln/detail/CVE-2016-2162
advisory
-
github.com
/apache/struts
package
-
github.com
/apache/struts/blob/f511034acd7b97e07d281169b38e2af40c94903d/core/src/main/java/org/apache/struts2/interceptor
web
-
web.archive.org
/web/20210123095722/http://www.securityfocus.com/bid/85070
web
-
web.archive.org
/web/20210801130539/http://www.securitytracker.com/id/1035272
web
Sources
- CVE List CVE-2016-2162
- GitHub Advisory GHSA-2j4q-9fff-236j
- NVD CVE-2016-2162
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.