com.opensymphony:xwork@2.0.5 vulnerabilities

XWork is an command-pattern framework that is used to power WebWork as well as other applications. XWork provides an Inversion of Control container, a powerful expression language, data type conversion, validation, and pluggable configuration.

Direct Vulnerabilities

Known vulnerabilities in the com.opensymphony:xwork package. This does not include vulnerabilities belonging to this package’s dependencies.

Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.
Fix for free
Vulnerability Vulnerable Version
  • M
Arbitrary OGNL Statement Execution

com.opensymphony:xwork is a generic command pattern framework. It forms the core of Struts 2.

Affected versions of this package are vulnerable to Arbitrary OGNL Statement Execution. ParametersInterceptor 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.

How to fix Arbitrary OGNL Statement Execution?

Upgrade com.opensymphony:xwork to version 2.0.6, 2.1.2 or higher.

[2.0.0,2.0.6) [2.1.0,2.1.2)