High

Unrestricted Upload of File with Dangerous Type in Apache Struts2

  • Disclosed: 23.04.2022
  • Updated: 11.10.2026 11:20

A local code execution issue exists in Apache Struts2 when processing malformed XSLT files, which could let a malicious user upload and execute arbitrary files. A patch exists as of version 2.5.22.

Affected software

Click a technology to see all vulnerabilities affecting it.

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

References

CVSS score 8.8/10
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness (CWE)
CWE-434
Platform
Java / Kotlin (Maven)
Package
org.apache.struts:struts2-core
Disclosed
23.04.2022
Updated
11.10.2026 11:20

Sources and licenses

OSV / GitHub Advisory Database - GHSA-8m5q-crqq-6pmf - 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. 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
  10. High CVE-2013-4316 >= 2.0.0, < 2.3.15.2 2.3.15.2
  11. Critical · 9.8 CVE-2016-4436 >= 2.0.0, < 2.3.29, >= 2.5-BETA1, < 2.5.1 2.3.29, 2.5.1
  12. High CVE-2015-1831 >= 2.0.0, < 2.3.20.1 2.3.20.1
  13. High · 7.5 CVE-2015-5209 < 2.3.24.1 2.3.24.1
  14. High CVE-2013-2134 >= 2.0.0, < 2.3.14.3 2.3.14.3
  15. High CVE-2013-2135 >= 2.0.0, < 2.3.14.3 2.3.14.3
  16. High CVE-2012-0838 < 2.2.3.1 2.2.3.1
  17. High · 8.8 CVE-2016-4461 >= 2.0.0, < 2.3.29 2.3.29
  18. High CVE-2014-0112 < 2.3.20 2.3.20
  19. High CVE-2013-1966 >= 2.0.0, < 2.3.14.2 2.3.14.2
  20. High CVE-2014-0113 < 2.3.20 2.3.20
  21. High CVE-2013-1965 < 2.3.14.3 2.3.14.3
  22. High CVE-2014-0116 < 2.3.20 2.3.20
  23. Critical · 9.8 CVE-2016-3087 >= 2.3.19, < 2.3.20.3, >= 2.3.21, < 2.3.24.3, >= 2.3.25, < 2.3.28.1 2.3.20.3, 2.3.24.3, 2.3.28.1
  24. High · 8.1 Exploited in attacks CVE-2016-3081 >= 2.3.19, < 2.3.20.3, >= 2.3.21, < 2.3.24.3, >= 2.3.25, < 2.3.28.1 2.3.20.3, 2.3.24.3, 2.3.28.1
  25. Critical · 9.8 CVE-2016-4438 >= 2.3.19, < 2.3.29 2.3.29
  26. High · 8.8 CVE-2016-0785 >= 2.0.0, < 2.3.20.3, >= 2.3.24, < 2.3.24.3 2.3.20.3, 2.3.24.3
  27. High · 8.1 CVE-2013-2115 >= 2.0.0, < 2.3.14.2 2.3.14.2
  28. Critical · 9.8 Exploited in attacks CVE-2013-2251 < 2.3.15.1 2.3.15.1
  29. Critical · 9.8 Exploited in attacks CVE-2012-0391 < 2.2.3.1 2.2.3.1
  30. Unrestricted Upload of File with Dangerous Type in Apache Struts2 this entry
    High · 8.8 CVE-2012-1592 >= 2.0, < 2.5.22 2.5.22
  31. Critical · 9.8 CVE-2011-3923 >= 2.0.0, < 2.3.1.2 2.3.1.2
  32. Critical · 9.8 CVE-2021-31805 >= 2.0.0, < 2.5.30 2.5.30
  33. Critical · 9.8 Exploited in attacks CVE-2020-17530 >= 2.0.0, < 2.5.26 2.5.26
  34. High · 8.1 Exploited in attacks CVE-2018-11776 >= 2.0.4, < 2.3.35, >= 2.5, < 2.5.17 2.3.35, 2.5.17
  35. Critical · 10.0 Exploited in attacks CVE-2017-5638 >= 2.3.0, < 2.3.32, >= 2.5.0, < 2.5.10.1 2.3.32, 2.5.10.1
  36. High · 7.5 CVE-2017-9804 >= 2.3.7, < 2.3.34, >= 2.5.0, < 2.5.13 2.3.34, 2.5.13
  37. High · 7.5 CVE-2017-9787 >= 2.3.7, < 2.3.33, >= 2.5.0, < 2.5.12 2.3.33, 2.5.12
  38. Critical · 9.8 CVE-2017-12611 >= 2.0.1, < 2.3.34, >= 2.5.0, < 2.5.11 2.3.34, 2.5.11

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.