CVE-2011-1772 Cross-site Scripting
No CVSS score yet. EPSS 34% estimated probability of exploitation activity in the next 30 days. Fixed in org.apache.struts:struts2-core 2.2.3.
On this page
- EPSS
- 34% (unchanged from 33% a week ago; 33% 30 days ago) estimated probability of exploitation activity in the next 30 days; 98th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
- CWE
- CWE-79 Improper Neutralization of Input During Web Page Generation (Cross-site Scripting)
- OWASP Top 10
- A05:2025 Injection
- Published
- Modified
- NVD analysis
- Analyzed, since modified
- Record from
- the NVD, synced
Fix and patched versions
org.apache.struts:struts2-core(Maven): fixed in 2.2.3- Patch: http://struts.apache.org/2.x/docs/s2-006.html
- Patch: https://issues.apache.org/jira/browse/WW-3579
- Vendor advisory: http://www.vupen.com/english/advisories/2011/1198
Ask an AI about this CVE
Show the prompt
Explain CVE-2011-1772 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2011-1772?via=ask-ai-copy and https://cve.bz/cve/CVE-2011-1772?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2011-1772 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
Affected
Versions
From the NVD's CPE matches.
| Product | Affected |
|---|---|
| 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 |
Packages (OSV)
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-56f8-g68r-j699 | Maven | org.apache.struts:struts2-core | <2.2.3 | 2.2.3 |
Red Hat
Red Hat rates this Moderate.
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.
| Product | Package | State | Advisory |
|---|---|---|---|
| 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 |
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2011-1772.
Public exploits
Attack patterns (CAPEC)
- CAPEC-63 Cross-Site Scripting (XSS) Likelihood: High · Severity: Very High
- CAPEC-85 AJAX Footprinting Likelihood: High · Severity: Low
- CAPEC-209 XSS Using MIME Type Mismatch Severity: Medium
- CAPEC-588 DOM-Based XSS Likelihood: High · Severity: Very High
- CAPEC-591 Reflected XSS Likelihood: High · Severity: Very High
- CAPEC-592 Stored XSS Likelihood: High · Severity: Very High
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.
References
- http://struts.apache.org/2.x/docs/s2-006.html
- https://issues.apache.org/jira/browse/WW-3579
- http://www.vupen.com/english/advisories/2011/1198
- http://jvn.jp/en/jp/JVN25435092/index.html
- http://jvndb.jvn.jp/jvndb/JVNDB-2011-000106
- http://secureappdev.blogspot.com/2011/05/Struts_2_XWork_WebWork_XSS_in_error_pages.html
- http://secureappdev.blogspot.com/2011/05/apache-struts-2-xwork-webwork-reflected.html
- http://struts.apache.org/2.2.3/docs/version-notes-223.html
- http://www.securityfocus.com/bid/47784
- http://www.ventuneac.net/security-advisories/MVSA-11-006