{"id":"GHSA-2j4q-9fff-236j","summary":"Apache Struts XSS Vulnerability","details":"Apache Struts 2.x before 2.3.28 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.","aliases":["CVE-2016-2162"],"modified":"2024-01-02T05:51:38.601627Z","published":"2022-05-17T03:42:59Z","database_specific":{"github_reviewed_at":"2023-07-31T22:46:20Z","nvd_published_at":"2016-04-12T16:59:00Z","cwe_ids":["CWE-79"],"severity":"MODERATE","github_reviewed":true},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2016-2162"},{"type":"WEB","url":"https://github.com/apache/struts/commit/fc2179cf1ac9fbfb61e3430fa88b641d87253327"},{"type":"PACKAGE","url":"https://github.com/apache/struts"},{"type":"WEB","url":"https://github.com/apache/struts/blob/f511034acd7b97e07d281169b38e2af40c94903d/core/src/main/java/org/apache/struts2/interceptor/I18nInterceptor.java"},{"type":"WEB","url":"https://web.archive.org/web/20210123095722/http://www.securityfocus.com/bid/85070"},{"type":"WEB","url":"https://web.archive.org/web/20210801130539/http://www.securitytracker.com/id/1035272"},{"type":"WEB","url":"http://struts.apache.org/docs/s2-030.html"}],"affected":[{"package":{"name":"org.apache.struts:struts2-core","ecosystem":"Maven","purl":"pkg:maven/org.apache.struts/struts2-core"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.0.0"},{"fixed":"2.3.28"}]}],"versions":["2.0.11","2.0.11.1","2.0.11.2","2.0.12","2.0.14","2.0.5","2.0.6","2.0.8","2.0.9","2.1.2","2.1.6","2.1.8","2.1.8.1","2.2.1","2.2.1.1","2.2.3","2.2.3.1","2.3.1","2.3.1.1","2.3.1.2","2.3.12","2.3.14","2.3.14.1","2.3.14.2","2.3.14.3","2.3.15","2.3.15.1","2.3.15.2","2.3.15.3","2.3.16","2.3.16.1","2.3.16.2","2.3.16.3","2.3.20","2.3.20.1","2.3.20.3","2.3.24","2.3.24.1","2.3.24.3","2.3.3","2.3.4","2.3.4.1","2.3.7","2.3.8"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-2j4q-9fff-236j/GHSA-2j4q-9fff-236j.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"}]}