CVE-2011-2087: XSS

Published May 13, 2011
·
Updated

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, and (8) TextFieldHandler.java.

Other sources

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 1. HiddenHandler.java 1. PasswordHandler.java 1. RadioHandler.java 1. ResetHandler.java 1. SelectHandler.java 1. SubmitHandler.java 1. TextFieldHandler.java

GitHub

Affected Software

29 affected componentsFixes available
maven/org.apache.struts:struts2-parent<2.2.3
2.2.3
Apache struts=2.0.0
Apache struts=2.0.1
Apache struts=2.0.2
Apache struts=2.0.3
Apache struts=2.0.4
Apache struts=2.0.5
Apache struts=2.0.6
Apache struts=2.0.7
Apache struts=2.0.8
Apache struts=2.0.9
Apache struts=2.0.10
Apache struts=2.0.11
Apache struts=2.0.11.1
Apache struts=2.0.11.2
Apache struts=2.0.12
Apache struts=2.0.13
Apache struts=2.0.14
Apache struts=2.1.0
Apache struts=2.1.1
Apache struts=2.1.2
Apache struts=2.1.3
Apache struts=2.1.4
Apache struts=2.1.5
Apache struts=2.1.6
Apache struts=2.1.8
Apache struts=2.1.8.1
Apache struts=2.2.1
Apache struts=2.2.1.1

Event History

May 13, 2011
CVE Published
via MITRE·05:00 PM
Data Sourced
via MITRE·05:00 PM
Description
May 17, 2022
Advisory Published
via GitHub·05:41 AM

Frequently Asked Questions

1

What is the severity of CVE-2011-2087?

CVE-2011-2087 is categorized as a medium severity vulnerability due to its potential for cross-site scripting attacks.

2

How do I fix CVE-2011-2087?

To fix CVE-2011-2087, upgrade Apache Struts to version 2.2.3 or later.

3

Which versions of Apache Struts are affected by CVE-2011-2087?

CVE-2011-2087 affects Apache Struts versions from 2.0.0 to 2.2.2.

4

What type of attack is associated with CVE-2011-2087?

CVE-2011-2087 is associated with cross-site scripting (XSS) attacks that allow attackers to inject arbitrary web scripts or HTML.

5

Is there a patch available for CVE-2011-2087?

Yes, a patch is available by upgrading to Apache Struts version 2.2.3 or later.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203