struts2: unsanitized text in the Locale object constructed by I18NInterceptor
Published Apr 12, 2016
6.1
MEDIUMCVSS 3.0
EPSS 7.78%
Description
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.
Affected products
No data.
- 2.0.0
- 2.0.1
- 2.0.2
- 2.0.3
- 2.0.4
- 2.0.5
- 2.0.6
- 2.0.7
- 2.0.8
- 2.0.9
- 2.0.10
- 2.0.11
- 2.0.11.1
- 2.0.11.2
- 2.0.12
- 2.0.13
- 2.0.14
- 2.1
- 2.1.0
- 2.1.1
- 2.1.2
- 2.1.2_beta
- 2.1.3
- 2.1.4
- 2.1.5
- 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.3
- 2.3.4
- 2.3.4.1
- 2.3.7
- 2.3.8
- 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.24
- 2.3.24.1
No data.
Red Hat JBoss Fuse Service Works 6
struts2-core
Not affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat JBoss Fuse Service Works 6 | struts2-core | Not affected | n/a |
No package ranges for this CVE.
Remediation
Red Hat statement
A previous statement by Red Hat related to this CVE, prior to August 2019, said that Apache Struts 2 is not included in any Red Hat products. This earlier statement was incorrect. While Struts 2 is not actively compiled, shipped, used, or enabled in any Red Hat provided final products, and does not cause any vulnerability in the product, struts2-core jars have been included in some products' source code packages. The inclusion was part of an import of the Google Guice repository, which includes struts2-core. Customers that build artefacts from our source code could be at risk. Red Hat will remove these artefacts from source code in future releases. The products that included the Struts 2 artefacts in their source jars: Fuse Service Works 6.0.0 Single Sign On 7.3.0+ If you have used the source package from one of these products to build artefacts on your system, you should do the following to remove potentially affected jars: 1. Run 'find . -name struts2*.jar' under the source location 2. Remove any files found This will not affect the product, as the jar is included with the source of google-guice, but no functionality requiring struts2 is implemented.
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
AV:N/AC:M/Au:N/C:N/I:P/A:N
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2022–2026- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (24 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 7.78% (0.07780) | 94.47th | v5 (v2026.06.15) |
| Sep 22, 2026 | 7.78% (0.07780) | 94.38th | v5 (v2026.06.15) |
| Sep 21, 2026 | 6.09% (0.06095) | 93.18th | v5 (v2026.06.15) |
| Sep 6, 2026 | 7.78% (0.07780) | 94.25th | v5 (v2026.06.15) |
| Sep 5, 2026 | 6.09% (0.06095) | 93.03th | v5 (v2026.06.15) |
| Aug 30, 2026 | 7.78% (0.07780) | 94.22th | v5 (v2026.06.15) |
| Aug 28, 2026 | 6.09% (0.06095) | 92.98th | v5 (v2026.06.15) |
| Aug 24, 2026 | 7.78% (0.07780) | 94.18th | v5 (v2026.06.15) |
| Aug 23, 2026 | 6.09% (0.06095) | 92.95th | v5 (v2026.06.15) |
| Jul 3, 2026 | 7.99% (0.07987) | 94.05th | v5 (v2026.06.15) |
| Jun 15, 2026 | 9.23% (0.09231) | 94.68th | v5 (v2026.06.15) |
| Mar 13, 2026 | 1.41% (0.01407) | 80.29th | v4 (v2025.03.14) |
| Mar 4, 2026 | 5.09% (0.05093) | 89.61th | v4 (v2025.03.14) |
| Feb 19, 2026 | 1.83% (0.01830) | 82.60th | v4 (v2025.03.14) |
| Jun 22, 2025 | 6.53% (0.06525) | 90.65th | v4 (v2025.03.14) |
| Mar 30, 2025 | 5.09% (0.05093) | 88.82th | v4 (v2025.03.14) |
| Mar 29, 2025 | 13.93% (0.13932) | 90.53th | v4 (v2025.03.14) |
| Mar 17, 2025 | 5.09% (0.05093) | 89.07th | v4 (v2025.03.14) |
| Dec 17, 2024 | 19.23% (0.19232) | 96.26th | v3 (v2023.03.01) |
| Nov 5, 2024 | 23.69% (0.23686) | 96.71th | v3 (v2023.03.01) |
| Mar 7, 2023 | 18.21% (0.18207) | 95.32th | v3 (v2023.03.01) |
| Mar 6, 2023 | 2.15% (0.02154) | 80.07th | v2 (v2022.01.01) |
| Apr 1, 2022 | 2.15% (0.02154) | 78.16th | v2 (v2022.01.01) |
| Feb 4, 2022 | 2.15% (0.02154) | 56.98th | v2 (v2022.01.01) |
References (12)
- http://struts.apache.org/docs/s2-030.html x_refsource_CONFIRMVendor Advisory
- http://www.securityfocus.com/bid/85070 vdb-entryx_refsource_BID
- http://www.securitytracker.com/id/1035272 vdb-entryx_refsource_SECTRACK
- https://access.redhat.com/security/cve/CVE-2016-2162 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1326724 Issue Tracking
- https://github.com/advisories/GHSA-2j4q-9fff-236j Advisory
- 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://nvd.nist.gov/vuln/detail/CVE-2016-2162
- 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://www.cve.org/CVERecord?id=CVE-2016-2162
Change history (0)
No recorded changes yet.