MediumGHSA-wxw2-2mx5-c5qfCVE-2008-6504

Improper Input Validation in OpenSymphony XWork

Published 17 May 2022 · Updated 28 Nov 2024

Is your project on an affected com.opensymphony:xwork?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

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
Update to the fixed version for your release line, for example: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
Update to the fixed version for your release line, for example:mvn versions:use-dep-version -Dincludes=com.opensymphony:xwork -DdepVersion=2.1.2 -DforceVersion=true

Details

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
com.opensymphony:xwork security overview

References

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.