ClassLoader manipulation in Apache Struts
CookieInterceptor in Apache Struts before 2.3.20, when a wildcard cookiesName value is used, does not properly restrict access to the getClass method, which allows remote attackers to "manipulate" the ClassLoader and execute arbitrary code via a crafted request. NOTE: this vulnerability exists because of an incomplete fix for CVE-2014-0094.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Java / Kotlin (Maven) | org.apache.struts:struts2-core | < 2.3.20 | 2.3.20 |
References
- Weakness (CWE)
-- Platform
- Java / Kotlin (Maven)
- Package
org.apache.struts:struts2-core- Disclosed
- 14.05.2022
- Updated
- 11.10.2026 12:21
Sources and licenses
OSV / GitHub Advisory Database - GHSA-3c5c-xrq4-qhr8 - 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.
- 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
- 2018: 6
- 2019: 0
- 2020: 0
- 2021: 1
- 2022: 45
- 2023: 4
- 2024: 1
- 2025: 2
- 2026: 1
-
ClassLoader manipulation in Apache Struts this entry
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.