CVE-2011-2087
MEDIUM 4.3CVSS 2.0Apache Struts Multiple XSS Vulnerabilities
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.
- Published
- 13 May 2011
- Last modified
- 16 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-79
- Also known as
- GHSA-5pgj-r7c6-7c7w
- Sources
- NVDJSONOSV GHSA-5pgj-r7c6-7c7wJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 4.3 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | apache | strutscpe:2.3:a:apache:struts:2.0.0:*:*:*:*:*:*:* |
= 2.0.0 | |
| NVD | apache | strutscpe:2.3:a:apache:struts:2.0.1:*:*:*:*:*:*:* |
= 2.0.1 | |
| NVD | apache | strutscpe:2.3:a:apache:struts:2.0.2:*:*:*:*:*:*:* |
= 2.0.2 | |
| NVD | apache | strutscpe:2.3:a:apache:struts:2.0.3:*:*:*:*:*:*:* |
= 2.0.3 | |
| NVD | apache | strutscpe:2.3:a:apache:struts:2.0.4:*:*:*:*:*:*:* |
= 2.0.4 | |
| NVD | apache | strutscpe:2.3:a:apache:struts:2.0.5:*:*:*:*:*:*:* |
= 2.0.5 | |
| NVD | apache | strutscpe:2.3:a:apache:struts:2.0.6:*:*:*:*:*:*:* |
= 2.0.6 | |
| NVD | apache | strutscpe:2.3:a:apache:struts:2.0.7:*:*:*:*:*:*:* |
= 2.0.7 | |
| NVD | apache | strutscpe:2.3:a:apache:struts:2.0.8:*:*:*:*:*:*:* |
= 2.0.8 | |
| NVD | apache | strutscpe:2.3:a:apache:struts:2.0.9:*:*:*:*:*:*:* |
= 2.0.9 | |
| NVD | apache | strutscpe:2.3:a:apache:struts:2.0.10:*:*:*:*:*:*:* |
= 2.0.10 | |
| NVD | apache | strutscpe:2.3:a:apache:struts:2.0.11:*:*:*:*:*:*:* |
= 2.0.11 | |
| NVD | apache | strutscpe:2.3:a:apache:struts:2.0.11.1:*:*:*:*:*:*:* |
= 2.0.11.1 | |
| NVD | apache | strutscpe:2.3:a:apache:struts:2.0.11.2:*:*:*:*:*:*:* |
= 2.0.11.2 | |
| NVD | apache | strutscpe:2.3:a:apache:struts:2.0.12:*:*:*:*:*:*:* |
= 2.0.12 | |
| NVD | apache | strutscpe:2.3:a:apache:struts:2.0.13:*:*:*:*:*:*:* |
= 2.0.13 | |
| NVD | apache | strutscpe:2.3:a:apache:struts:2.0.14:*:*:*:*:*:*:* |
= 2.0.14 | |
| NVD | apache | strutscpe:2.3:a:apache:struts:2.1.0:*:*:*:*:*:*:* |
= 2.1.0 | |
| NVD | apache | strutscpe:2.3:a:apache:struts:2.1.1:*:*:*:*:*:*:* |
= 2.1.1 | |
| NVD | apache | strutscpe:2.3:a:apache:struts:2.1.2:*:*:*:*:*:*:* |
= 2.1.2 | |
| NVD | apache | strutscpe:2.3:a:apache:struts:2.1.3:*:*:*:*:*:*:* |
= 2.1.3 | |
| NVD | apache | strutscpe:2.3:a:apache:struts:2.1.4:*:*:*:*:*:*:* |
= 2.1.4 | |
| NVD | apache | strutscpe:2.3:a:apache:struts:2.1.5:*:*:*:*:*:*:* |
= 2.1.5 | |
| NVD | apache | strutscpe:2.3:a:apache:struts:2.1.6:*:*:*:*:*:*:* |
= 2.1.6 | |
| NVD | apache | strutscpe:2.3:a:apache:struts:2.1.8:*:*:*:*:*:*:* |
= 2.1.8 | |
| NVD | apache | strutscpe:2.3:a:apache:struts:2.1.8.1:*:*:*:*:*:*:* |
= 2.1.8.1 | |
| NVD | apache | strutscpe:2.3:a:apache:struts:2.2.1:*:*:*:*:*:*:* |
= 2.2.1 | |
| NVD | apache | strutscpe:2.3:a:apache:struts:2.2.1.1:*:*:*:*:*:*:* |
= 2.2.1.1 | |
| OSV | Maven | org.apache.struts:struts2-parent | < 2.2.3 | 2.2.3 |
References
- http://struts.apache.org/2.2.3/docs/version-notes-223.html · WEB
- http://www.vupen.com/english/advisories/2011/1198 · Vendor Advisory
- https://issues.apache.org/jira/browse/WW-3597 · Exploit, WEB
- https://issues.apache.org/jira/browse/WW-3608 · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2011-2087 · ADVISORY
- https://github.com/apache/struts/commit/1736b56db702c6639a6d5ae1146dba5a262e3344 · WEB
- https://github.com/apache/struts · PACKAGE
History
- 25 Nov 2026 20:16 UTC · NVD: first stored (published 13 May 2011)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 17 May 2022)