Home / Opensymphony / Xwork / CVE-2008-6504
CVE-2008-6504: is it exploited, and which versions of Opensymphony Xwork are affected and fixed?
CVE-2008-6504 is an improper input validation vulnerability in Opensymphony Xwork. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 06:38 UTC). Affected: com.opensymphony:xwork before 2.0.6 and com.opensymphony:xwork from 2.1.0 before 2.1.2 (GitHub advisory GHSA-wxw2-2mx5-c5qf). Fixed in 2.0.6 and 2.1.2 (GitHub advisory GHSA-wxw2-2mx5-c5qf). Severity: Medium (5.0, CVSS 2.0, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 06:38 UTC, CVE record November 19, 2026, 07:20 UTC and NVD November 19, 2026, 08:51 UTC.
What is CVE-2008-6504?
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.
From the CVE record by mitre, last updated August 7, 2024, 11:34 UTC.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Maven | com.opensymphony:xwork | < 2.0.6 | 2.0.6 | GHSA-wxw2-2mx5-c5qf |
| Maven | com.opensymphony:xwork | >= 2.1.0, < 2.1.2 | 2.1.2 | GHSA-wxw2-2mx5-c5qf |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated November 1, 2022. Summary: Improper Input Validation in OpenSymphony XWork.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| opensymphony | xwork | 2.0.0 | application |
| opensymphony | xwork | 2.0.1 | application |
| opensymphony | xwork | 2.0.2 | application |
| opensymphony | xwork | 2.0.3 | application |
| opensymphony | xwork | 2.0.4 | application |
| opensymphony | xwork | 2.0.5 | application |
| opensymphony | xwork | 2.1.0 | application |
| opensymphony | xwork | 2.1.1 | application |
| apache | struts | 2.0.0 | application |
| apache | struts | 2.0.2 | application |
| apache | struts | 2.0.3 | application |
| apache | struts | 2.0.4 | application |
| apache | struts | 2.0.5 | application |
| apache | struts | 2.0.6 | application |
| apache | struts | 2.0.7 | application |
| apache | struts | 2.0.8 | application |
| apache | struts | 2.0.9 | application |
| apache | struts | 2.0.11 | application |
| apache | struts | 2.0.11.1 | application |
| apache | struts | 2.0.11.2 | application |
NVD analysis (status Modified), last modified June 16, 2026, 23:02 UTC.
How severe is CVE-2008-6504?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 5.0 | CVSS 2.0 | AV:N/AC:L/Au:N/C:N/I:P/A:N | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2008-6504 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 39.4% probability of exploitation activity in the next 30 days, percentile 98.6 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-20 Improper Input Validation
Where are the vendor advisories and references?
- 32495 third-party-advisory, x_refsource_SECUNIA
- http://fisheye6.atlassian.com/cru/CR-9/ x_refsource_CONFIRM
- http://struts.apache.org/2.x/docs/s2-003.html x_refsource_CONFIRM
- xwork-parameterinterceptor-security-bypass(46328) vdb-entry, x_refsource_XF
- ADV-2008-3003 vdb-entry, x_refsource_VUPEN
- ADV-2008-3004 vdb-entry, x_refsource_VUPEN
- 32101 vdb-entry, x_refsource_BID
- 32497 third-party-advisory, x_refsource_SECUNIA
- http://jira.opensymphony.com/browse/XW-641 x_refsource_CONFIRM
- http://issues.apache.org/struts/browse/WW-2692 x_refsource_CONFIRM
- 49732 vdb-entry, x_refsource_OSVDB
When was it published, and where is the official record?
- Reserved
- March 23, 2009
- Published
- March 23, 2009, 14:00 UTC
- CVE record updated
- August 7, 2024, 11:34 UTC by mitre
- NVD
- Modified, last modified June 16, 2026, 23:02 UTC
- Last checked
- CVE list November 19, 2026, 07:20 UTC; NVD November 19, 2026, 08:51 UTC; KEV December 3, 2026, 06:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Xwork?
- May 13, 2011CVE-2011-2088 Apache Struts: information disclosure
- May 13, 2011CVE-2011-1772 Apache Struts: cross-site scripting (XSS)
- Aug 28, 2007CVE-2007-4556 Opensymphony Xwork: improper input validation
Questions about CVE-2008-6504
Is CVE-2008-6504 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 06:38 UTC. FIRST's EPSS gives it a 39.4% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Opensymphony Xwork are affected by CVE-2008-6504?
com.opensymphony:xwork before 2.0.6 and com.opensymphony:xwork from 2.1.0 before 2.1.2, per the GitHub advisory GHSA-wxw2-2mx5-c5qf. The tables above give every range the sources list.
Which version fixes CVE-2008-6504?
2.0.6 and 2.1.2, per the GitHub advisory GHSA-wxw2-2mx5-c5qf. Check the vendor's advisory before you rely on it.
How severe is CVE-2008-6504?
Medium (5.0, CVSS 2.0, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2008-6504?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.