Improper Input Validation in OpenSymphony XWork
Published 17 May 2022 · Updated 28 Nov 2024
Is your project on an affected com.opensymphony:xwork?
Look after several Java apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie
Affected packages
- Affected
- <2.0.6
- Fixed in
- 2.0.6
mvn versions:use-dep-version -Dincludes=com.opensymphony:xwork -DdepVersion=2.0.6 -DforceVersion=true- Affected
- >=2.1.0 <2.1.2
- Fixed in
- 2.1.2
mvn versions:use-dep-version -Dincludes=com.opensymphony:xwork -DdepVersion=2.1.2 -DforceVersion=trueDetails
ParametersInterceptor in OpenSymphony XWork 2.0.x before 2.0.6 and 2.1.x before 2.1.2, as used in Apache Struts and other products, does not properly restrict # (pound sign) references to context objects, which allows remote attackers to execute Object-Graph Navigation Language (OGNL) statements and modify server-side context objects, as demonstrated by use of a \u0023 representation for the # character.
Is GHSA-wxw2-2mx5-c5qf 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 com.opensymphony:xwork, and gives you the command that fixes it.
More advisories for com.opensymphony:xwork
- HighCVE-2025-68493Apache Struts 2 is Missing XML Validation · 11 Jan 2026
References
- Advisorynvd.nist.gov/vuln/detail/CVE-2008-6504
- Linkexchange.xforce.ibmcloud.com/vulnerabilities/46328
- Linkfisheye6.atlassian.com/cru/CR-9
- Linkissues.apache.org/struts/browse/WW-2692
- Linkjira.opensymphony.com/browse/XW-641
- Linksecunia.com/advisories/32495
- Linksecunia.com/advisories/32497
- Linkstruts.apache.org/2.x/docs/s2-003.html
- Linkweb.archive.org/web/20081119232431/jira.opensymphony.com/browse/XW-641
- Linkweb.archive.org/web/20130807023152/https://fisheye6.atlassian.com/cru/CR-9
- Linkwww.securityfocus.com/bid/32101
- Linkwww.vupen.com/english/advisories/2008/3003
- Linkwww.vupen.com/english/advisories/2008/3004
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.