6.1med

CVE-2016-2162

Apache Struts XSS Vulnerability

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

Published 10 y ago · modified 4 mo ago · JSON

CVSS
6.1
v3.0 · NVD
CISA KEV
No
not known exploited
EPSS
7.8%
percentile 95%
Public exploits
0
none known

Summary

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.

Exploit prediction (EPSS)

7.78% probability of exploitation in the next 30 days, higher than 95% of all scored CVEs.

CVSS scores

Assigned byVersionScoreVector
NVD3.06.1CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
NVD2.04.3AV:N/AC:M/Au:N/C:N/I:P/A:N
GitHub3.06.1CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Affected packages

EcosystemPackageAffectedFixed in
mavenorg.apache.struts:struts2-core
>=2.0.0, <2.3.28
2.3.28

Classification

Weakness
  • CWE-79 Improper Neutralization of Input During Web Page Generation

References

  • securitytracker.com /id/1035272 · vdb-entry, x_refsource_SECTRACK, x_transferred
  • securityfocus.com /bid/85070 · vdb-entry, x_refsource_BID, x_transferred
  • struts.apache.org /docs/s2-030.html · x_refsource_CONFIRM, x_transferred
  • nvd.nist.gov /vuln/detail/CVE-2016-2162 · advisory
  • github.com /apache/struts/commit/fc2179cf1ac9fbfb61e3430fa88b641d87253327 · web
  • github.com /apache/struts · package
  • github.com /apache/struts/blob/f511034acd7b97e07d281169b38e2af40c94903d/core/src/main/java/org/apache · web
  • web.archive.org /web/20210123095722/http://www.securityfocus.com/bid/85070 · web
  • web.archive.org /web/20210801130539/http://www.securitytracker.com/id/1035272 · web

Sources

vulnwire keeps one entry per vulnerability: the CVE id wins, then GHSA; records that alias each other are merged. Machine-readable: JSON.