CVE-2011-1772
lowpriority · track · 32EPSS 0.333 · 98 %ileexploit · functionalEUUSEPSS · scored 2026-10-27
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode
weaknesses
The CWE weakness classes this flaw belongs to.
exploits (1)
Public proof-of-concept and weaponised exploit code.
- EDB-35735Apache Struts 2.0.0 < 2.2.1.1 - XWork 's:submit' HTML Tag Cross-Site Scriptingfunctional · exploit_db
affected products (32)
Products and version ranges known to be affected.
advisories (1)
Vendor and ecosystem advisories describing this.
- GHSA-56f8-g68r-j699Cross-site Scripting in Apache Struts2022-05-17ghsa · osvUS
Multiple Cross-Site Scripting (XSS) in XWork generated error pages in Apache Struts. By default, XWork doesn't escape action's names in automatically generated error page, allowing for a successful XSS attack. When Dynamic Method Invocation (DMI) is enabled, the action name is generated dynamically base on request parameters. This allows to call non-existing page and method to produce error page with injected code as below. As of Struts 2.2.3 the action names are escaped when automatically generated error pages are rendered.
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (29)
External citations — patches, advisories, analysis.
- http://secureappdev.blogspot.com/2011/05/Struts_2_XWork_WebWork_XSS_in_error_pages.htmlcnnvd
- http://secureappdev.blogspot.com/2011/05/apache-struts-2-xwork-webwork-reflected.htmlcnnvd
- http://struts.apache.org/2.2.3/docs/version-notes-223.htmlcnnvd
- http://struts.apache.org/2.x/docs/s2-006.htmlcnnvd
- http://struts.apache.org/download.cgiPatchcnnvd
- http://www.securityfocus.com/bid/47784cnnvd
- http://www.ventuneac.net/security-advisories/MVSA-11-006cnnvd
- http://www.vupen.com/english/advisories/2011/1198cnnvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan