Every CVE Search/ Get API key

CVE-2008-6504

Improper Input Validation in OpenSymphony XWork

5.0 MediumPublic exploitFix available

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.

Exploit likelihood

38.6%Up 5.5 points since Feb 4, 2022
90%50%10%1%

What each source reports

NVD Score used 5.0

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.

Record
CVE-2008-6504
CVSS 2.0
5.0 MediumAV:N/AC:L/Au:N/C:N/I:P/A:N
Weakness
CWE-20
Updated
2026-11-02
CVE List No score

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.

Record
CVE-2008-6504
Updated
2026-11-02
EUVDEUVD-2022-5677 No score

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.

Record
EUVD-2022-5677
Updated
2026-11-03
GitHub AdvisoriesGHSA-wxw2-2mx5-c5qf No score

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.

Record
GHSA-wxw2-2mx5-c5qf
Weakness
CWE-20
Updated
2026-11-02
OSVGHSA-wxw2-2mx5-c5qf No score

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.

Record
GHSA-wxw2-2mx5-c5qf
Weakness
CWE-20
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
com.opensymphony:xwork
Maven
before 2.0.6
2.0.6
com.opensymphony:xwork
Maven
2.1.0 up to 2.1.2
2.1.2
com.opensymphony:xwork
Maven
before 2.0.6, plus listed versions
2.0.42.0.5
2.0.6
com.opensymphony:xwork
Maven
2.1.0 up to 2.1.2, plus listed versions
2.1.1
2.1.2

Public exploits

Links only. Every CVE stores no exploit code.

Public exploits
SourceLinkDate
Exploit-DBXWork < 2.0.11.2 - 'ParameterInterceptor' Class OGNL Security Bypass2008-11-04

History

History
RecordedChangedSources
aliasesEUVD
first indexedCVE List, Exploit-DB, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2008-6504 is a medium vulnerability (CVSS 5.0) in Apache Struts, published March 23, 2009. Public exploit code exists. EPSS puts the chance of exploitation in the next 30 days at 38.6%, the 98th percentile. Fixed in com.opensymphony:xwork 2.0.6.

References

Show 9 moreShow less
MoveEnter Open