Arbitrary code execution in Apache Struts 2
Apache Struts 2 before 2.3.14.3 allows remote attackers to execute arbitrary OGNL code via a request with a crafted action name that is not properly handled during wildcard matching, a different vulnerability than CVE-2013-2135.
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.0.0, < 2.3.14.3 | 2.3.14.3 |
| Java / Kotlin (Maven) | org.apache.struts.xwork:xwork-core | >= 2.0.0, < 2.3.14.3 | 2.3.14.3 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2013-2134
- https://github.com/apache/struts/commit/01e6b251b4db78bfb7971033652e81d1af4cb3e0
- https://github.com/apache/struts/commit/041206d2a693d02c0cb2e72765275e55ba14049f
- https://github.com/apache/struts/commit/113c47082c09818bcef65acc436a2d0c7c47aa6c
- https://github.com/apache/struts/commit/54e5c912ebd9a1599bfcf7a719da17c28127bbe3
- https://github.com/apache/struts/commit/711cf0201cdd319a38cf29238913312355db29ba
- https://github.com/apache/struts/commit/8b4fc81daeea3834bcbf73de5f48d0021917aa37
- https://github.com/apache/struts/commit/cfb6e9afbae320a4dd5bdd655154ab9fe5a92c16
- https://cwiki.apache.org/confluence/display/WW/S2-015
- https://github.com/apache/struts
- https://issues.apache.org/jira/browse/WW-4090
- https://issues.apache.org/jira/browse/WW-4094
- https://issues.apache.org/jira/browse/WW-4095
- https://web.archive.org/web/20140226173351/http://www.securityfocus.com/bid/60346
- https://web.archive.org/web/20140410223942/http://www.securityfocus.com/bid/64758
- http://security.gentoo.org/glsa/glsa-201409-04.xml
- http://struts.apache.org/development/2.x/docs/s2-015.html
- http://www.oracle.com/technetwork/topics/security/cpujan2014-1972949.html
- http://www.oracle.com/technetwork/topics/security/cpuoct2013-1899837.html
- Weakness (CWE)
CWE-94- Platform
- Java / Kotlin (Maven)
- Package
org.apache.struts:struts2-core, org.apache.struts.xwork:xwork-core- Disclosed
- 14.05.2022
- Updated
- 11.10.2026 12:21
Sources and licenses
OSV / GitHub Advisory Database - GHSA-gqqm-564f-vvxq - CC BY 4.0
Vulnerability history: org.apache.struts.xwork:xwork-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
- 16
- First → latest
- 05.2022 01.2026
- Without a fix
- 1
- Exploited in attacks
- 1
Severity breakdown
- Critical 1
- High 9
- Medium 6
Disclosures per year
- 2022: 15
- 2023: 0
- 2024: 0
- 2025: 0
- 2026: 1
-
Arbitrary code execution in Apache Struts 2 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.