Arbitrary OGNL Statemant Execution Affecting opensymphony:xwork Open this link in a new tab package, versions [,2.0.4)

  • Attack Complexity


  • User Interaction


Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • snyk-id


  • published

    10 Oct 2019

  • disclosed

    27 Aug 2007

  • credit


How to fix?

Upgrade opensymphony:xwork to version 2.0.4 or higher.


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 Statemant Execution. It recursively evaluates all input as an Object-Graph Navigation Language (OGNL) expression when altSyntax is enabled, which allows remote attackers to cause a denial of service (infinite loop) or execute arbitrary code via form input beginning with a %{ sequence and ending with a } character.