MediumGHSA-9ccm-g362-2r35CVE-2011-2088

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?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

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
Update to the fixed version for your release line, for example:mvn versions:use-dep-version -Dincludes=org.apache.struts.xwork:xwork-core -DdepVersion=2.2.2 -DforceVersion=true

Details

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
All 16 advisories for org.apache.struts.xwork:xwork-core

References

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.