Improper Input Validation in OpenSymphony XWork
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.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Java / Kotlin (Maven) | com.opensymphony:xwork | < 2.0.6, >= 2.1.0, < 2.1.2 | 2.0.6, 2.1.2 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2008-6504
- https://exchange.xforce.ibmcloud.com/vulnerabilities/46328
- http://fisheye6.atlassian.com/cru/CR-9
- http://issues.apache.org/struts/browse/WW-2692
- http://jira.opensymphony.com/browse/XW-641
- http://secunia.com/advisories/32495
- http://secunia.com/advisories/32497
- http://struts.apache.org/2.x/docs/s2-003.html
- http://web.archive.org/web/20081119232431/jira.opensymphony.com/browse/XW-641
- http://web.archive.org/web/20130807023152/https://fisheye6.atlassian.com/cru/CR-9
- http://www.securityfocus.com/bid/32101
- http://www.vupen.com/english/advisories/2008/3003
- http://www.vupen.com/english/advisories/2008/3004
- Weakness (CWE)
CWE-20- Platform
- Java / Kotlin (Maven)
- Package
com.opensymphony:xwork- Disclosed
- 17.05.2022
- Updated
- 11.10.2026 12:21
Sources and licenses
OSV / GitHub Advisory Database - GHSA-wxw2-2mx5-c5qf - CC BY 4.0
Vulnerability history: com.opensymphony:xwork
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
- 2
- First → latest
- 05.2022 01.2026
- Without a fix
- 1
- Exploited in attacks
- 0
Severity breakdown
- High 1
- Medium 1
Disclosures per year
- 2022: 1
- 2023: 0
- 2024: 0
- 2025: 0
- 2026: 1
-
Improper Input Validation in OpenSymphony XWork 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.