struts: Multiple XSS flaws in XWork
Published May 13, 2011
2.6
LOWCVSS 2.0
EPSS 33.35%
Description
Multiple cross-site scripting (XSS) vulnerabilities in XWork in Apache Struts 2.x before 2.2.3, and OpenSymphony XWork in OpenSymphony WebWork, allow 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.
Affected products
No data.
Configuration 1
- 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
Configuration 2
- n/a
- n/a
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:H/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 (21 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 33.35% (0.33346) | 98.33th | v5 (v2026.06.15) |
| Jun 27, 2026 | 33.11% (0.33111) | 98.15th | v5 (v2026.06.15) |
| Jun 15, 2026 | 34.11% (0.34111) | 98.18th | v5 (v2026.06.15) |
| Mar 4, 2026 | 59.23% (0.59227) | 98.19th | v4 (v2025.03.14) |
| Jan 20, 2026 | 53.37% (0.53371) | 97.89th | v4 (v2025.03.14) |
| Sep 16, 2025 | 57.60% (0.57601) | 98.10th | v4 (v2025.03.14) |
| Sep 15, 2025 | 63.14% (0.63145) | 98.34th | v4 (v2025.03.14) |
| Jul 25, 2025 | 59.44% (0.59442) | 98.13th | v4 (v2025.03.14) |
| Jul 9, 2025 | 76.34% (0.76340) | 98.87th | v4 (v2025.03.14) |
| Jun 17, 2025 | 71.32% (0.71317) | 98.62th | v4 (v2025.03.14) |
| Apr 3, 2025 | 75.49% (0.75491) | 98.83th | v4 (v2025.03.14) |
| Mar 30, 2025 | 81.25% (0.81254) | 99.12th | v4 (v2025.03.14) |
| Mar 29, 2025 | 65.63% (0.65630) | 97.91th | v4 (v2025.03.14) |
| Mar 17, 2025 | 81.25% (0.81254) | 99.13th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.42% (0.00422) | 75.06th | v3 (v2023.03.01) |
| May 29, 2024 | 0.42% (0.00422) | 74.18th | v3 (v2023.03.01) |
| Feb 8, 2024 | 0.43% (0.00430) | 73.76th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.43% (0.00430) | 70.49th | v3 (v2023.03.01) |
| Mar 6, 2023 | 15.01% (0.15014) | 95.91th | v2 (v2022.01.01) |
| Apr 1, 2022 | 15.01% (0.15014) | 95.54th | v2 (v2022.01.01) |
| Feb 4, 2022 | 15.01% (0.15014) | 91.31th | v2 (v2022.01.01) |
References (15)
- http://jvn.jp/en/jp/JVN25435092/index.html third-party-advisoryx_refsource_JVN
- http://jvndb.jvn.jp/jvndb/JVNDB-2011-000106 third-party-advisoryx_refsource_JVNDB
- http://secureappdev.blogspot.com/2011/05/Struts_2_XWork_WebWork_XSS_in_error_pages.html x_refsource_MISC
- http://secureappdev.blogspot.com/2011/05/apache-struts-2-xwork-webwork-reflected.html x_refsource_MISCExploit
- http://struts.apache.org/2.2.3/docs/version-notes-223.html x_refsource_CONFIRM
- http://struts.apache.org/2.x/docs/s2-006.html x_refsource_CONFIRMExploitPatch
- http://www.securityfocus.com/bid/47784 vdb-entryx_refsource_BIDExploit
- http://www.ventuneac.net/security-advisories/MVSA-11-006 x_refsource_MISCExploit
- http://www.vupen.com/english/advisories/2011/1198 vdb-entryx_refsource_VUPENVendor Advisory
- https://access.redhat.com/security/cve/CVE-2011-1772 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=723827 Issue Tracking
- https://github.com/advisories/GHSA-56f8-g68r-j699 Advisory
- https://issues.apache.org/jira/browse/WW-3579 x_refsource_CONFIRMPatch
- https://nvd.nist.gov/vuln/detail/CVE-2011-1772
- https://www.cve.org/CVERecord?id=CVE-2011-1772
Change history (0)
No recorded changes yet.