Medium

Apache Struts XSS Vulnerability

  • Disclosed: 17.05.2022
  • Updated: 11.10.2026 11:22

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.

Affected software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
Java / Kotlin (Maven) org.apache.struts:struts2-core >= 2.0.0, < 2.3.28 2.3.28

References

CVSS score 6.1/10
CVSS vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Weakness (CWE)
CWE-79
Platform
Java / Kotlin (Maven)
Package
org.apache.struts:struts2-core
Disclosed
17.05.2022
Updated
11.10.2026 11:22

Sources and licenses

OSV / GitHub Advisory Database - GHSA-2j4q-9fff-236j - CC BY 4.0

Vulnerability history: org.apache.struts:struts2-core

All published vulnerabilities of this package (Java / Kotlin (Maven)), newest first. Shows whether this is a one-off slip or a package that needs watching.

All (60) in the archive
Total entries
60
First → latest
10.2018 01.2026
Without a fix
0
Exploited in attacks
6

Severity breakdown

  • Critical 14
  • High 25
  • Medium 20
  • Low 1

Disclosures per year

  1. 2018: 6
  2. 2019: 0
  3. 2020: 0
  4. 2021: 1
  5. 2022: 45
  6. 2023: 4
  7. 2024: 1
  8. 2025: 2
  9. 2026: 1
Severity:
  1. High · 8.1 CVE-2025-68493 >= 2.0.0, <= 2.3.37, >= 2.5.0, <= 2.5.33, >= 6.0.0, < 6.1.1 6.1.1
  2. High · 8.2 CVE-2025-66675 >= 2.0.0, < 6.8.0, >= 7.0.0, < 7.1.1 6.8.0, 7.1.1
  3. High · 7.5 CVE-2025-64775 >= 6.0.0, < 6.8.0, >= 7.0.0, < 7.1.1, >= 2.0.0, <= 2.3.37, >= 2.5.0, <= 2.5.33 6.8.0, 7.1.1
  4. Critical · 9.8 CVE-2024-53677 < 6.4.0 6.4.0
  5. Critical · 9.8 CVE-2023-50164 >= 2.0.0, < 2.5.33, >= 6.0.0, < 6.3.0.2 2.5.33, 6.3.0.2
  6. High · 7.5 CVE-2023-41835 >= 6.2.0, < 6.3.0.1, >= 6.0.0, < 6.1.2.2, < 2.5.32 6.3.0.1, 6.1.2.2, 2.5.32
  7. High · 7.5 CVE-2023-34396 < 2.5.31, >= 6.0.0, < 6.1.2.1 2.5.31, 6.1.2.1
  8. High · 7.5 CVE-2019-0233 >= 2.0.0, < 2.5.22 2.5.22
  9. Apache Struts XSS Vulnerability this entry
    Medium · 6.1 CVE-2016-2162 >= 2.0.0, < 2.3.28 2.3.28
  10. Critical · 9.8 CVE-2016-3082 < 2.3.20.3, >= 2.3.24, < 2.3.24.3, >= 2.3.28, < 2.3.28.1 2.3.20.3, 2.3.24.3, 2.3.28.1
  11. High CVE-2013-4316 >= 2.0.0, < 2.3.15.2 2.3.15.2
  12. Critical · 9.8 CVE-2016-4436 >= 2.0.0, < 2.3.29, >= 2.5-BETA1, < 2.5.1 2.3.29, 2.5.1
  13. High CVE-2015-1831 >= 2.0.0, < 2.3.20.1 2.3.20.1
  14. High · 7.5 CVE-2015-5209 < 2.3.24.1 2.3.24.1
  15. High CVE-2013-2134 >= 2.0.0, < 2.3.14.3 2.3.14.3
  16. High CVE-2013-2135 >= 2.0.0, < 2.3.14.3 2.3.14.3
  17. High CVE-2012-0838 < 2.2.3.1 2.2.3.1
  18. High · 8.8 CVE-2016-4461 >= 2.0.0, < 2.3.29 2.3.29
  19. High CVE-2014-0112 < 2.3.20 2.3.20
  20. High CVE-2013-1966 >= 2.0.0, < 2.3.14.2 2.3.14.2
Show more (20) Showing 20 of 40

Know which vulnerabilities affect your application

With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.