Cross-site Scripting (XSS) Affecting org.apache.struts.xwork:xwork-core package, versions [2.0.0, 2.2.3)


Severity

Recommended
0.0
low
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
1.37% (86th percentile)

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 Learn

Learn about Cross-site Scripting (XSS) vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JAVA-ORGAPACHESTRUTSXWORK-30785
  • published10 Jan 2014
  • disclosed13 May 2011
  • creditUnknown

Introduced: 13 May 2011

CVE-2011-1772  (opens in a new tab)
CWE-79  (opens in a new tab)

How to fix?

Upgrade org.apache.struts.xwork:xwork-core to version 2.2.3 or higher.

Overview

org.apache.struts.xwork:xwork-core is a generic command pattern framework. It forms the core of Struts 2.

Affected versions of this package are vulnerable to multiple Cross-site Scripting (XSS) vulnerabilities allowing remote attackers to inject arbitrary web script or HTML via vectors involving (1) an action name, (2) the action attribute of an s:submit element, or (3) the method attribute of an s:submit element.

Details

References

CVSS Scores

version 3.1