GitHub Advisoryadvisory · Maven
GHSA-2j4q-9fff-236j Apache Struts XSS Vulnerability
MEDIUM
Official page ↗
- Aliases
- CVE-2016-2162
- Ecosystem
- Maven
- Packages
- org.apache.struts:struts2-core
- Severity
- Moderate
- CVSS vector
- CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- Weaknesses
- CWE-79
- Reviewed
- 2023-07-31
Affected packages
• Maven org.apache.struts:struts2-core: >= 2.0.0, < 2.3.28 → fixed in 2.3.28
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.
Related
Alias · CVE (1)
- 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… vulnerability
Weakness · CWE (1)
- CWE-79 Improper Neutralization of Input During Web Page Generation weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2016-2162 advisory
- https://github.com/apache/struts/commit/fc2179cf1ac9fbfb61e3430fa88b641d87253327 web
- https://github.com/apache/struts package
- https://github.com/apache/struts/blob/f511034acd7b97e07d281169b38e2af40c94903d/core/src/main/java/org/apache/struts2/interceptor/I18nInterceptor.java web
- https://web.archive.org/web/20210123095722/http://www.securityfocus.com/bid/85070 web
- https://web.archive.org/web/20210801130539/http://www.securitytracker.com/id/1035272 web
- http://struts.apache.org/docs/s2-030.html web