
13/5/2011

17/5/2022

3/10/2022

6/8/2024
CVE-2011-2087: XSS
First published: Fri 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.
Credit: cve@mitre.org cve@mitre.org
Affected Software | Affected Version | How to fix |
---|
maven/org.apache.struts:struts2-parent | <2.2.3 | 2.2.3 |
Apache Struts 2 | =2.0.0 | |
Apache Struts 2 | =2.0.1 | |
Apache Struts 2 | =2.0.2 | |
Apache Struts 2 | =2.0.3 | |
Apache Struts 2 | =2.0.4 | |
Apache Struts 2 | =2.0.5 | |
Apache Struts 2 | =2.0.6 | |
Apache Struts 2 | =2.0.7 | |
Apache Struts 2 | =2.0.8 | |
Apache Struts 2 | =2.0.9 | |
Apache Struts 2 | =2.0.10 | |
Apache Struts 2 | =2.0.11 | |
Apache Struts 2 | =2.0.11.1 | |
Apache Struts 2 | =2.0.11.2 | |
Apache Struts 2 | =2.0.12 | |
Apache Struts 2 | =2.0.13 | |
Apache Struts 2 | =2.0.14 | |
Apache Struts 2 | =2.1.0 | |
Apache Struts 2 | =2.1.1 | |
Apache Struts 2 | =2.1.2 | |
Apache Struts 2 | =2.1.3 | |
Apache Struts 2 | =2.1.4 | |
Apache Struts 2 | =2.1.5 | |
Apache Struts 2 | =2.1.6 | |
Apache Struts 2 | =2.1.8 | |
Apache Struts 2 | =2.1.8.1 | |
Apache Struts 2 | =2.2.1 | |
Apache Struts 2 | =2.2.1.1 | |
Never miss a vulnerability like this again
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
Frequently Asked Questions
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.
How do I fix CVE-2011-2087?
To fix CVE-2011-2087, upgrade Apache Struts to version 2.2.3 or later.
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.
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.
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.
- agent/type
- agent/first-publish-date
- collector/github-advisory-latest
- source/GitHub
- alias/GHSA-5pgj-r7c6-7c7w
- alias/CVE-2011-2087
- agent/software-canonical-lookup
- agent/severity
- agent/references
- agent/weakness
- agent/description
- agent/author
- agent/softwarecombine
- collector/github-advisory
- collector/mitre-cve
- source/MITRE
- agent/last-modified-date
- agent/event
- agent/trending
- agent/source
- agent/tags
- collector/nvd-cve
- source/NVD
- agent/software-canonical-lookup-request
- collector/nvd-historical
- collector/nvd-index
- package-manager/maven
- vendor/apache
- canonical/apache struts 2
- version/apache struts 2/2.0.0
- version/apache struts 2/2.0.1
- version/apache struts 2/2.0.2
- version/apache struts 2/2.0.3
- version/apache struts 2/2.0.4
- version/apache struts 2/2.0.5
- version/apache struts 2/2.0.6
- version/apache struts 2/2.0.7
- version/apache struts 2/2.0.8
- version/apache struts 2/2.0.9
- version/apache struts 2/2.0.10
- version/apache struts 2/2.0.11
- version/apache struts 2/2.0.11.1
- version/apache struts 2/2.0.11.2
- version/apache struts 2/2.0.12
- version/apache struts 2/2.0.13
- version/apache struts 2/2.0.14
- version/apache struts 2/2.1.0
- version/apache struts 2/2.1.1
- version/apache struts 2/2.1.2
- version/apache struts 2/2.1.3
- version/apache struts 2/2.1.4
- version/apache struts 2/2.1.5
- version/apache struts 2/2.1.6
- version/apache struts 2/2.1.8
- version/apache struts 2/2.1.8.1
- version/apache struts 2/2.2.1
- version/apache struts 2/2.2.1.1
Contact
SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.coBy 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.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203