apache/struts · Security
Apache Struts XSS Vulnerability
- GHSA ID
- GHSA-2j4q-9fff-236j
- CVE ID
- CVE-2016-2162
- Severity
- medium
- Published
- Updated
- CVSS
- 6.1 · CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- CVSS v3
- 6.1 · CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Description
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.
CWEs
- CWE-79 · Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
References
- https://nvd.nist.gov/vuln/detail/CVE-2016-2162 ↗
- http://struts.apache.org/docs/s2-030.html ↗
- https://web.archive.org/web/20210123095722/http://www.securityfocus.com/bid/85070 ↗
- https://web.archive.org/web/20210801130539/http://www.securitytracker.com/id/1035272 ↗
- https://github.com/apache/struts/blob/f511034acd7b97e07d281169b38e2af40c94903d/core/src/main/java/org/apache/struts2/interceptor/I18nInterceptor.java ↗
- https://github.com/apache/struts/commit/fc2179cf1ac9fbfb61e3430fa88b641d87253327 ↗
- https://github.com/advisories/GHSA-2j4q-9fff-236j ↗