XWork in Apache Struts Reveals Sensitive Information
Published 14 May 2022 · Updated 2 Dec 2024
Is your project on an affected org.apache.struts.xwork:xwork-core?
Look after several Java apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie
Affected package
- Affected
- <2.2.2
- Fixed in
- 2.2.2
mvn versions:use-dep-version -Dincludes=org.apache.struts.xwork:xwork-core -DdepVersion=2.2.2 -DforceVersion=trueDetails
XWork 2.2.1 in Apache Struts 2.2.1, and OpenSymphony XWork in OpenSymphony WebWork, allows remote attackers to obtain potentially sensitive information about internal Java class paths via vectors involving an s:submit element and a nonexistent method, a different vulnerability than CVE-2011-1772.3.
Is GHSA-9ccm-g362-2r35 in any of your client repos?
Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected org.apache.struts.xwork:xwork-core, and gives you the command that fixes it.
More advisories for org.apache.struts.xwork:xwork-core
- HighCVE-2025-68493Apache Struts 2 is Missing XML Validation · 11 Jan 2026
- HighCVE-2016-4433Apache Struts Open Redirect · 17 May 2022
- MediumCVE-2012-4387Denial of service in Apache Struts · 17 May 2022
- HighCVE-2015-1831Incomplete exclude pattern in Apache Struts · 17 May 2022
- HighCVE-2016-4430Apache Struts CSRF Vulnerability · 17 May 2022
- HighCVE-2013-2134Arbitrary code execution in Apache Struts 2 · 14 May 2022
References
- Advisorynvd.nist.gov/vuln/detail/CVE-2011-2088
- Linkgithub.com/apache/struts/commit/885ab3459e146ff830d1f7257f809f4a3dd4493a
- Linkissues.apache.org/jira/browse/WW-3579
- Linkweb.archive.org/web/20110726113612/http://www.ventuneac.net/security-advisories/MVSA-11-006
- Linkweb.archive.org/web/20201207174744/http://www.securityfocus.com/archive/1/518066/100/0/threaded
- Linksecureappdev.blogspot.com/2011/05/apache-struts-2-xwork-webwork-reflected.html
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.