struts: Multiple XSS flaws in component handlers in javatemplates plug-in
Published May 13, 2011
4.3
MEDIUMCVSS 2.0
EPSS 6.13%
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, and (8) TextFieldHandler.java.
Affected products
No data.
- 2.0.0
- 2.0.1
- 2.0.2
- 2.0.3
- 2.0.4
- 2.0.5
- 2.0.6
- 2.0.7
- 2.0.8
- 2.0.9
- 2.0.10
- 2.0.11
- 2.0.11.1
- 2.0.11.2
- 2.0.12
- 2.0.13
- 2.0.14
- 2.1.0
- 2.1.1
- 2.1.2
- 2.1.3
- 2.1.4
- 2.1.5
- 2.1.6
- 2.1.8
- 2.1.8.1
- 2.2.1
- 2.2.1.1
No data.
Red Hat Enterprise Linux 5
struts
Under investigation
Red Hat JBoss Enterprise Web Server 1
Red Hat Enterprise Linux 4
Under investigation
Red Hat JBoss Enterprise Web Server 1
Red Hat Enterprise Linux 5
Under investigation
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 5 | struts | Under investigation | n/a |
| Red Hat JBoss Enterprise Web Server 1 | Red Hat Enterprise Linux 4 | Under investigation | n/a |
| Red Hat JBoss Enterprise Web Server 1 | Red Hat Enterprise Linux 5 | Under investigation | n/a |
No package ranges for this CVE.
Remediation
Red Hat statement
A previous statement by Red Hat related to this CVE, prior to August 2019, said that Apache Struts 2 is not included in any Red Hat products. This earlier statement was incorrect. While Struts 2 is not actively compiled, shipped, used, or enabled in any Red Hat provided final products, and does not cause any vulnerability in the product, struts2-core jars have been included in some products' source code packages. The inclusion was part of an import of the Google Guice repository, which includes struts2-core. Customers that build artefacts from our source code could be at risk. Red Hat will remove these artefacts from source code in future releases. The products that included the Struts 2 artefacts in their source jars: Fuse Service Works 6.0.0 Single Sign On 7.3.0+ If you have used the source package from one of these products to build artefacts on your system, you should do the following to remove potentially affected jars: 1. Run 'find . -name struts2*.jar' under the source location 2. Remove any files found This will not affect the product, as the jar is included with the source of google-guice, but no functionality requiring struts2 is implemented.
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
No CVSS v3.0 score for this CVE.
AV:N/AC:M/Au:N/C:N/I:P/A:N
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2022–2026- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (15 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 6.13% (0.06127) | 93.23th | v5 (v2026.06.15) |
| Jun 15, 2026 | 6.13% (0.06127) | 92.50th | v5 (v2026.06.15) |
| Mar 30, 2025 | 1.39% (0.01391) | 78.61th | v4 (v2025.03.14) |
| Mar 29, 2025 | 2.80% (0.02802) | 76.85th | v4 (v2025.03.14) |
| Mar 17, 2025 | 1.39% (0.01391) | 79.06th | v4 (v2025.03.14) |
| Dec 17, 2024 | 8.66% (0.08658) | 94.49th | v3 (v2023.03.01) |
| Sep 17, 2024 | 2.59% (0.02593) | 90.49th | v3 (v2023.03.01) |
| Apr 25, 2024 | 8.42% (0.08416) | 94.33th | v3 (v2023.03.01) |
| Mar 15, 2024 | 10.09% (0.10086) | 94.77th | v3 (v2023.03.01) |
| Feb 17, 2024 | 7.46% (0.07457) | 93.86th | v3 (v2023.03.01) |
| Feb 8, 2024 | 7.38% (0.07384) | 93.83th | v3 (v2023.03.01) |
| Mar 7, 2023 | 2.59% (0.02593) | 88.61th | v3 (v2023.03.01) |
| Mar 6, 2023 | 4.24% (0.04240) | 87.48th | v2 (v2022.01.01) |
| Apr 1, 2022 | 4.24% (0.04240) | 86.20th | v2 (v2022.01.01) |
| Feb 4, 2022 | 4.24% (0.04240) | 69.95th | v2 (v2022.01.01) |
References (10)
- http://struts.apache.org/2.2.3/docs/version-notes-223.html x_refsource_CONFIRM
- http://www.vupen.com/english/advisories/2011/1198 vdb-entryx_refsource_VUPENVendor Advisory
- https://access.redhat.com/security/cve/CVE-2011-2087 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=723828 Issue Tracking
- https://github.com/advisories/GHSA-5pgj-r7c6-7c7w Advisory
- https://github.com/apache/struts/commit/1736b56db702c6639a6d5ae1146dba5a262e3344
- https://issues.apache.org/jira/browse/WW-3597 x_refsource_CONFIRMExploit
- https://issues.apache.org/jira/browse/WW-3608 x_refsource_CONFIRM
- https://nvd.nist.gov/vuln/detail/CVE-2011-2087
- https://www.cve.org/CVERecord?id=CVE-2011-2087
| Link | Providers | Tags |
|---|---|---|
| http://struts.apache.org/2.2.3/docs/version-notes-223.html | x_refsource_CONFIRM | |
| http://www.vupen.com/english/advisories/2011/1198 | vdb-entryx_refsource_VUPENVendor Advisory | |
| https://access.redhat.com/security/cve/CVE-2011-2087 | Vendor Advisory | |
| https://bugzilla.redhat.com/show_bug.cgi?id=723828 | Issue Tracking | |
| https://github.com/advisories/GHSA-5pgj-r7c6-7c7w | Advisory | |
| https://github.com/apache/struts/commit/1736b56db702c6639a6d5ae1146dba5a262e3344 | ||
| https://issues.apache.org/jira/browse/WW-3597 | x_refsource_CONFIRMExploit | |
| https://issues.apache.org/jira/browse/WW-3608 | x_refsource_CONFIRM | |
| https://nvd.nist.gov/vuln/detail/CVE-2011-2087 | ||
| https://www.cve.org/CVERecord?id=CVE-2011-2087 |
Change history (0)
No recorded changes yet.