KeygraphLabs · CVE MCP

CVE-2016-2162 · redhat

CVE-2016-2162

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 2016-04-12, last changed 2026-06-17. Weakness: CWE-79.

CVSS
6.1
medium, from NVD
EPSS
7.75%
percentile 94.8%, chance of exploitation in 30 days
Exploitation
None known
no KEV listing or public exploit in our indexes

How to fix

Upgrade to a fixed version: org.apache.struts:struts2-core 2.3.28 (Maven). For the version that clears every advisory for your installed version, ask an agent for get_remediation.

Where the flaw is in the code

Fixed in apache/struts by fc2179cf1a. Functions changed by the fix: getLocaleFromParam. Regression tests: core/src/test/java/com/opensymphony/xwork2/interceptor/I18nInterceptorTest.java, core/src/test/java/org/apache/struts2/interceptor/I18nInterceptorTest.java. Confidence: inferred (code changed near the fix, but no record names this exact commit as the fix).

Timeline

2016-04-12Published
2022-05-17Package advisory GHSA-2j4q-9fff-236j
2026-06-17Record last changed
2026-11-30EPSS when our history starts: 7.75%
2026-12-02Code-level analysis added

Affected packages

AdvisoryPackageFixed in
GHSA-2j4q-9fff-236jorg.apache.struts:struts2-core (Maven)2.3.28

Also known as: GHSA-2j4q-9fff-236j

Related

CVEPublishedCVSSSummary
CVE-2025-684932026-01-118.1Apache Struts, Apache Struts: XXE vulnerability in outdated XWork component
CVE-2025-666752025-12-108.2Apache Struts: File leak in multipart request processing causes disk exhaustion (DoS) - version ranges fixed
CVE-2025-647752025-12-017.5Apache Struts: File leak in multipart request processing causes disk exhaustion (DoS)
CVE-2024-536772024-12-119.8Apache Struts: Mixing setters for uploaded files and normal fields can allow bypass file upload checks
CVE-2023-501642023-12-079.8Apache Struts: File upload component had a directory traversal vulnerability
CVE-2023-418352023-12-057.5Apache Struts: excessive disk usage
CVE-2023-343962023-06-147.5Apache Struts: DoS via OOM owing to no sanity limit on normal form fields in multipart forms
CVE-2023-341492023-06-146.5Apache Struts: DoS via OOM owing to not properly checking of list bounds

Add it to your agent

One command for Claude Code; setup for Claude Desktop, Cursor and others. No signup or key.

claude mcp add --transport http keygraph-cve https://cve-mcp.keygraph.io/mcp

Then ask for triage_cve CVE-2016-2162, or call /api/v1/vulnerabilities/CVE-2016-2162. To prove whether it is exploitable in your running app, run Shannon, Keygraph's open-source AI pentester.

NVD · CVE.org