{"id":"CVE-2016-2162","aliases":["GHSA-2j4q-9fff-236j"],"kind":"cve","tier":"cold","status":"published","title":"Apache Struts XSS Vulnerability","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.","ai_summary":null,"severity":"medium","cvss":{"score":6.1,"version":"3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","source":"NVD"},"scores":[{"score":6.1,"version":"3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","source":"nvd"},{"score":4.3,"version":"2.0","vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","source":"nvd"}],"cwe":["CWE-79"],"remote":true,"remote_unauth":true,"epss":{"score":0.07752,"percentile":0.95407,"date":"2026-11-28"},"kev":{"listed":false,"added":null,"due":null,"ransomware":null},"exploit":{"public":false,"exploitdb_ids":[]},"affected":[{"ecosystem":"Maven","name":"org.apache.struts:struts2-core","affected":">= 2.0.0, < 2.3.28","fixed":["2.3.28"],"source":"osv"}],"affected_products":[{"vendor":"n/a","product":"n/a","versions":"","source":"nvd"}],"ai_versions":null,"mitigation":"Upgrade org.apache.struts:struts2-core to 2.3.28 or later.","technologies":[],"references":[{"url":"http://struts.apache.org/docs/s2-030.html","kind":"vendor"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2016-2162","kind":"vendor"},{"url":"https://github.com/apache/struts/commit/fc2179cf1ac9fbfb61e3430fa88b641d87253327","kind":"patch"},{"url":"http://www.securitytracker.com/id/1035272","kind":"other"},{"url":"http://www.securityfocus.com/bid/85070","kind":"other"},{"url":"https://github.com/apache/struts","kind":"other"},{"url":"https://github.com/apache/struts/blob/f511034acd7b97e07d281169b38e2af40c94903d/core/src/main/java/org/apache/struts2/interceptor/I18nInterceptor.java","kind":"other"},{"url":"https://web.archive.org/web/20210123095722/http://www.securityfocus.com/bid/85070","kind":"other"},{"url":"https://web.archive.org/web/20210801130539/http://www.securitytracker.com/id/1035272","kind":"other"}],"workarounds":null,"vendors":["apache"],"products":["struts"],"cpes":["cpe:2.3:a:apache:struts:2.0.0:*:*:*:*:*:*:*","cpe:2.3:a:apache:struts:2.0.10:*:*:*:*:*:*:*","cpe:2.3:a:apache:struts:2.0.11.1:*:*:*:*:*:*:*","cpe:2.3:a:apache:struts:2.0.11.2:*:*:*:*:*:*:*","cpe:2.3:a:apache:struts:2.0.11:*:*:*:*:*:*:*","cpe:2.3:a:apache:struts:2.0.12:*:*:*:*:*:*:*","cpe:2.3:a:apache:struts:2.0.13:*:*:*:*:*:*:*","cpe:2.3:a:apache:struts:2.0.14:*:*:*:*:*:*:*","cpe:2.3:a:apache:struts:2.0.1:*:*:*:*:*:*:*","cpe:2.3:a:apache:struts:2.0.2:*:*:*:*:*:*:*","cpe:2.3:a:apache:struts:2.0.3:*:*:*:*:*:*:*","cpe:2.3:a:apache:struts:2.0.4:*:*:*:*:*:*:*","cpe:2.3:a:apache:struts:2.0.5:*:*:*:*:*:*:*","cpe:2.3:a:apache:struts:2.0.6:*:*:*:*:*:*:*","cpe:2.3:a:apache:struts:2.0.7:*:*:*:*:*:*:*","cpe:2.3:a:apache:struts:2.0.8:*:*:*:*:*:*:*","cpe:2.3:a:apache:struts:2.0.9:*:*:*:*:*:*:*","cpe:2.3:a:apache:struts:2.1.0:*:*:*:*:*:*:*","cpe:2.3:a:apache:struts:2.1.1:*:*:*:*:*:*:*","cpe:2.3:a:apache:struts:2.1.2:*:*:*:*:*:*:*","cpe:2.3:a:apache:struts:2.1.2_beta:*:*:*:*:*:*:*","cpe:2.3:a:apache:struts:2.1.3:*:*:*:*:*:*:*","cpe:2.3:a:apache:struts:2.1.4:*:*:*:*:*:*:*","cpe:2.3:a:apache:struts:2.1.5:*:*:*:*:*:*:*","cpe:2.3:a:apache:struts:2.1.6:*:*:*:*:*:*:*","cpe:2.3:a:apache:struts:2.1.8.1:*:*:*:*:*:*:*","cpe:2.3:a:apache:struts:2.1.8:*:*:*:*:*:*:*","cpe:2.3:a:apache:struts:2.1:*:*:*:*:*:*:*","cpe:2.3:a:apache:struts:2.2.1.1:*:*:*:*:*:*:*","cpe:2.3:a:apache:struts:2.2.1:*:*:*:*:*:*:*","cpe:2.3:a:apache:struts:2.2.3.1:*:*:*:*:*:*:*","cpe:2.3:a:apache:struts:2.2.3:*:*:*:*:*:*:*","cpe:2.3:a:apache:struts:2.3.1.1:*:*:*:*:*:*:*","cpe:2.3:a:apache:struts:2.3.1.2:*:*:*:*:*:*:*","cpe:2.3:a:apache:struts:2.3.12:*:*:*:*:*:*:*","cpe:2.3:a:apache:struts:2.3.14.1:*:*:*:*:*:*:*","cpe:2.3:a:apache:struts:2.3.14.2:*:*:*:*:*:*:*","cpe:2.3:a:apache:struts:2.3.14.3:*:*:*:*:*:*:*","cpe:2.3:a:apache:struts:2.3.14:*:*:*:*:*:*:*","cpe:2.3:a:apache:struts:2.3.15.1:*:*:*:*:*:*:*","cpe:2.3:a:apache:struts:2.3.15.2:*:*:*:*:*:*:*","cpe:2.3:a:apache:struts:2.3.15.3:*:*:*:*:*:*:*","cpe:2.3:a:apache:struts:2.3.15:*:*:*:*:*:*:*","cpe:2.3:a:apache:struts:2.3.16.1:*:*:*:*:*:*:*","cpe:2.3:a:apache:struts:2.3.16.2:*:*:*:*:*:*:*","cpe:2.3:a:apache:struts:2.3.16.3:*:*:*:*:*:*:*","cpe:2.3:a:apache:struts:2.3.16:*:*:*:*:*:*:*","cpe:2.3:a:apache:struts:2.3.1:*:*:*:*:*:*:*","cpe:2.3:a:apache:struts:2.3.20:*:*:*:*:*:*:*","cpe:2.3:a:apache:struts:2.3.24.1:*:*:*:*:*:*:*","cpe:2.3:a:apache:struts:2.3.24:*:*:*:*:*:*:*","cpe:2.3:a:apache:struts:2.3.3:*:*:*:*:*:*:*","cpe:2.3:a:apache:struts:2.3.4.1:*:*:*:*:*:*:*","cpe:2.3:a:apache:struts:2.3.4:*:*:*:*:*:*:*","cpe:2.3:a:apache:struts:2.3.7:*:*:*:*:*:*:*","cpe:2.3:a:apache:struts:2.3.8:*:*:*:*:*:*:*"],"published_at":"2016-04-12T16:00:00.000Z","modified_at":"2026-06-17T00:43:33.760Z","promoted_at":null,"attribution":[{"source":"CVE Program","text":"CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation.","url":"https://www.cve.org/Legal/TermsOfUse"},{"source":"NVD","text":"This product uses data from the NVD API but is not endorsed or certified by the NVD.","url":"https://nvd.nist.gov/vuln/detail/CVE-2016-2162"},{"source":"OSV","text":"CC-BY 4.0","url":"https://osv.dev/vulnerability/GHSA-2j4q-9fff-236j","license_url":"https://creativecommons.org/licenses/by/4.0/"}],"links":{"html":"https://flawdb.com/CVE-2016-2162","markdown":"https://flawdb.com/CVE-2016-2162.md","json":"https://flawdb.com/api/v1/entries/CVE-2016-2162"}}