Cross-site Scripting (XSS) Affecting org.apache.struts:struts2-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-ORGAPACHESTRUTS-30040
  • published22 Feb 2011
  • disclosed22 Feb 2011
  • creditDr. Marian Ventuneac

Introduced: 22 Feb 2011

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

How to fix?

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

Overview

org.apache.struts:struts2-core is a popular open-source framework for developing web applications in the Java programming language.

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

CVSS Scores

version 3.1