Live threats

All CVEs / Apache

CVE-2016-2162Apache Struts

Medium 6.1 No auth needed

Priority
52
CVSS 3.0
6.1
EPSS
7.8%
probability of exploitation in 30 days · percentile 95
Auth required
No
Published
Apr 12, 2016
Updated
Jun 17, 2026
Category
Server · Cross-platform
Weakness (CWE)
CWE-79
Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Struts.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Maven org.apache.struts:struts2-core ≥ 2.0.0 < 2.3.28 2.3.28 —

Per OSV / GitHub Advisories (GHSA-2j4q-9fff-236j). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
apachestruts2.0.0
apachestruts2.0.1
apachestruts2.0.2
apachestruts2.0.3
apachestruts2.0.4
apachestruts2.0.5
apachestruts2.0.6
apachestruts2.0.7
apachestruts2.0.8
apachestruts2.0.9
apachestruts2.0.10
apachestruts2.0.11
apachestruts2.0.11.1
apachestruts2.0.11.2
apachestruts2.0.12
apachestruts2.0.13
apachestruts2.0.14
apachestruts2.1
apachestruts2.1.0
apachestruts2.1.1
apachestruts2.1.2
apachestruts2.1.2_beta
apachestruts2.1.3
apachestruts2.1.4
apachestruts2.1.5
apachestruts2.1.6
apachestruts2.1.8
apachestruts2.1.8.1
apachestruts2.2.1
apachestruts2.2.1.1
apachestruts2.2.3
apachestruts2.2.3.1
apachestruts2.3.1
apachestruts2.3.1.1
apachestruts2.3.1.2
apachestruts2.3.3
apachestruts2.3.4
apachestruts2.3.4.1
apachestruts2.3.7
apachestruts2.3.8
apachestruts2.3.12
apachestruts2.3.14
apachestruts2.3.14.1
apachestruts2.3.14.2
apachestruts2.3.14.3
apachestruts2.3.15
apachestruts2.3.15.1
apachestruts2.3.15.2
apachestruts2.3.15.3
apachestruts2.3.16
apachestruts2.3.16.1
apachestruts2.3.16.2
apachestruts2.3.16.3
apachestruts2.3.20
apachestruts2.3.24
apachestruts2.3.24.1

Official sources

References

Links published by the sources. Open them with care.