Live threats

All CVEs / Apache

CVE-2011-2087Apache Struts

Medium 4.3 No auth needed

Priority
41
CVSS 2.0
4.3
EPSS
6.1%
probability of exploitation in 30 days · percentile 94
Auth required
No
Published
May 13, 2011
Updated
Jun 16, 2026
Category
Server · Cross-platform
Weakness (CWE)
CWE-79
Vector
AV:N/AC:M/Au:N/C:N/I:P/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Struts.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Maven org.apache.struts:struts2-parent < 2.2.3 2.2.3 —

Per OSV / GitHub Advisories (GHSA-5pgj-r7c6-7c7w). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
apachestruts2.0.0
apachestruts2.0.1
apachestruts2.0.2
apachestruts2.0.3
apachestruts2.0.4
apachestruts2.0.5
apachestruts2.0.6
apachestruts2.0.7
apachestruts2.0.8
apachestruts2.0.9
apachestruts2.0.10
apachestruts2.0.11
apachestruts2.0.11.1
apachestruts2.0.11.2
apachestruts2.0.12
apachestruts2.0.13
apachestruts2.0.14
apachestruts2.1.0
apachestruts2.1.1
apachestruts2.1.2
apachestruts2.1.3
apachestruts2.1.4
apachestruts2.1.5
apachestruts2.1.6
apachestruts2.1.8
apachestruts2.1.8.1
apachestruts2.2.1
apachestruts2.2.1.1

Official sources

References

Links published by the sources. Open them with care.