Skip to content

Apache Struts Multiple XSS Vulnerabilities

Moderate severity GitHub Reviewed Published May 17, 2022 to the GitHub Advisory Database • Updated Jan 19, 2024

Package

maven org.apache.struts:struts2-parent (Maven)

Affected versions

< 2.2.3

Patched versions

2.2.3

Description

Multiple cross-site scripting (XSS) vulnerabilities in component handlers in the javatemplates (aka Java Templates) plugin in Apache Struts 2.x before 2.2.3 allow remote attackers to inject arbitrary web script or HTML via an arbitrary parameter value to a .action URI, related to improper handling of value attributes in

  1. FileHandler.java
  2. HiddenHandler.java
  3. PasswordHandler.java
  4. RadioHandler.java
  5. ResetHandler.java
  6. SelectHandler.java
  7. SubmitHandler.java
  8. TextFieldHandler.java

References

Published by the National Vulnerability Database May 13, 2011
Published to the GitHub Advisory Database May 17, 2022
Reviewed Jan 19, 2024
Last updated Jan 19, 2024

Severity

Moderate

EPSS score

8.658%
(94th percentile)

Weaknesses

CVE ID

CVE-2011-2087

GHSA ID

GHSA-5pgj-r7c6-7c7w

Source code

Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.