CVE-2016-2162: Apache Struts - Stored XSS
- Cve: CVE-2016-2162
- Name: Apache Struts - Stored XSS
- Description: 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.
- Impact: Remote attackers can execute arbitrary scripts in the victim's browser, leading to session hijacking or defacement.
- Remediation: Update to version 2.3.25 or later.
- Vulnerability type: stored_xss
- Vulnerability impact: client_script_exec
- Requirement type: none
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 6.1
- Cvss vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- Epss score: 0.07752
- Epss percentile: 0.94776
- Assignee: [email protected]
- Published at: 2016-04-12T16:59:01Z
- Age in days: 3878
- Modified at: 2026-06-17T00:43:33Z
- References total: 3
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2016-2162
- Nvd status: modified
- Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation |
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| http://struts.apache.org/docs/s2-030.html | Vendor Advisory |
| http://www.securityfocus.com/bid/85070 | |
| http://www.securitytracker.com/id/1035272 |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| apache:struts | = 2.3.24.1, = 2.3.24, = 2.3.20, = 2.3.16.3, = 2.3.16.2, = 2.3.16.1, = 2.3.16, = 2.3.15.3, = 2.3.15.2, = 2.3.15.1, = 2.3.15, = 2.3.14.3, = 2.3.14.2, = 2.3.14.1, = 2.3.14, = 2.3.12, = 2.3.8, = 2.3.7, = 2.3.4.1, = 2.3.4, = 2.3.3, = 2.3.1.2, = 2.3.1.1, = 2.3.1, = 2.2.3.1, = 2.2.3, = 2.2.1.1, = 2.2.1, = 2.1.8.1, = 2.1.8, = 2.1.6, = 2.1.5, = 2.1.4, = 2.1.3, = 2.1.2, = 2.1.2_beta, = 2.1.1, = 2.1.0, = 2.1, = 2.0.14, = 2.0.13, = 2.0.12, = 2.0.11.2, = 2.0.11.1, = 2.0.11, = 2.0.10, = 2.0.9, = 2.0.8, = 2.0.7, = 2.0.6, = 2.0.5, = 2.0.4, = 2.0.3, = 2.0.2, = 2.0.1, = 2.0.0 | no | nvd | /v1/products/apache/struts |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| apache/struts | commit, package | yes | /v1/repositories/apache/struts |
Index
- Repositories: 17
- Repositories high signal: 7
- Packages: 1
Exploitation
- Remote: yes
- Exposed hosts: 2127
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports