CVE-2011-2088 — xwork-core
Fix: apache/struts@885ab34CVE-2011-2088 is a Information Exposure vulnerability in org.apache.struts.xwork:xwork-core. A fix is available for org.apache.struts.xwork:xwork-core — see the affected versions and patch details below.
XWork in Apache Struts Reveals Sensitive Information
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
Real-World Exposure
org.apache.struts.xwork:xwork-coreReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects Maven packages — download data is not available via public APIs for these ecosystems.
Description
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.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| ☕Maven | org.apache.struts.xwork:xwork-core | all versions | 2.2.2org.apache.struts.xwork:xwork-core:2.2.2 |
Affected Products
strutsapachewebworkopensymphonyxworkopensymphonyDetection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for org.apache.struts.xwork:xwork-core, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update org.apache.struts.xwork:xwork-core to 2.2.2 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2011-2088 is resolved across your whole dependency graph.
Workarounds
Assume what was exposed is already known: rotate any credential, token or key that the affected component could return, restrict the endpoint to callers that genuinely need it, and strip sensitive fields from responses and error output at the boundary rather than relying on the client not to read them.
Frequently Asked Questions
Is CVE-2011-2088 in your dependencies?
Find it across Maven, including transitive dependencies.