WaratekVRT Sign in

CVE-2012-1006 Apache Struts

Affected softwareApache Struts
Severity4.3 Medium CVSS 2.0
Fixed in2.1.2, 2.2.3.1
WeaknessCross-site scripting (CWE-79)
Published7 Feb 2012
Updated16 Jun 2026

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.

Exploitation status

Working exploit published

A reviewed exploit catalogue lists ready-to-run exploit code for this CVE.

  • CISA KEV not listed
  • VulnCheck KEV not listed
  • CISA Vulnrichment no assessment published
  • Indexed PoC 1 indexed Published artifacts you can open, in Exploit-DB; first seen 2012-02-02.
  • EPSS 57% chance in 30 days A model's forecast, not a report of exploitation. Higher than 99% of all scored CVEs.
IndexArtifactStarsFirst seen
Exploit-DB Apache Struts - Multiple Persistent Cross-Site Scripting Vulnerabilities 2012-02-02

Waratek protection

Mitigation candidate

A kind of vulnerability Waratek's rules address, with exploit code published or exploitation reported. No rule exists and none is planned yet. The decision below says what we found to build a rule from.

  • Protection none
  • Action unverified
  • Review automated Inferred
  • Record active
Decided by The affected package being open source on Maven, so the fix can be read
Finding This CVE affects an open-source Java library published on Maven Central (Maven packages: org.apache.struts:struts2-parent), so it is squarely in ARMR's territory and the source needed to understand the defect is public. That makes it a candidate for an ARMR patch rule. No rule exists and none is scheduled: the diff between the affected and fixed versions has not been read, and a closer look may find no hook point ARMR can act on.

Affected software and releases

Maven packages

Affected and fixed versions, from OSV.dev
PackageIntroducedFixedLast affected
org.apache.struts:struts2-parent 0 2.1.2 unbounded
org.apache.struts:struts2-parent 2.2 2.2.3.1 unbounded

Products and versions

2 products, 4 version entries
SourceVendorProductSchemeAffected versions
nvd apache struts generic 2.0.14 · 2.2.3
osv org.apache.struts struts2-parent generic < 2.1.2 · ≥ 2.2 and < 2.2.3.1

References

URLTags
https://exchange.xforce.ibmcloud.com/vulnerabilities/72888 WEB
https://web.archive.org/web/20120219225953/http://secpod.org/advisories/SecPod_Apache_Struts_Multiple_Parsistant_XSS_Vulns.txt WEB
https://web.archive.org/web/20131013214245/http://secpod.org/blog/?p=450 WEB
https://web.archive.org/web/20200229131840/http://www.securityfocus.com/bid/51902 WEB
http://secpod.org/advisories/SecPod_Apache_Struts_Multiple_Parsistant_XSS_Vulns.txt
http://secpod.org/blog/?p=450
http://www.securityfocus.com/bid/51902

Timeline

Published2012-02-07By the CVE Program.
NVD record modified2026-06-16NVD's own last-modified date for this record.