Live threats

All CVEs / Apache

CVE-2012-1006Apache Struts

Medium 4.3 No auth neededHigh EPSS

Priority
46
CVSS 2.0
4.3
EPSS
56.6%
probability of exploitation in 30 days · percentile 99
Auth required
No
Published
Feb 7, 2012
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 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.

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.1.2 2.1.2 —
Maven org.apache.struts:struts2-parent ≥ 2.2 < 2.2.3.1 2.2.3.1 —

Per OSV / GitHub Advisories (GHSA-cmpm-jg8r-fv37). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
apachestruts2.0.14
apachestruts2.2.3

Official sources

References

Links published by the sources. Open them with care.