CVE-2012-1007: Apache Struts XSS in multiple components

CVE-2012-1007 · Severity: medium · CVSS 4.3 · Published 2022-05-14

Apache Struts is a popular framework used to build Java-based web applications. Multiple vulnerabilities were identified that could allow an attacker to inject malicious scripts into web pages viewed by other users. This could lead to unauthorized actions being performed in a user's browser or the theft of sensitive session information. Note: This specific advisory was later withdrawn as it was deemed invalid.

Technologies: Apache Struts, org.apache.struts:struts-core (Maven), struts:struts (Maven). Vendors: Apache, Maven.

Quick answers

Is CVE-2012-1007 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2012-1007 being exploited in the wild.
How severe is CVE-2012-1007?
Medium severity, with a CVSS score of 4.3, published 14 May 2022.
Which products and versions are affected?
Apache Struts <= 1.3.10; org.apache.struts:struts-core (Maven) <= 1.3.10, ECOSYSTEM:introduced=0,last_affected=1.3.10; struts:struts (Maven) <= 1.3.10, ECOSYSTEM:introduced=0,last_affected=1.3.10.
Is there a fix for CVE-2012-1007?
No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.
How is CVE-2012-1007 attacked?
It is attacked over the network, in a software library.
Am I affected by CVE-2012-1007?
Check whether you run Apache Struts, org.apache.struts:struts-core (Maven) or struts:struts (Maven) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

Technical details

Multiple cross-site scripting (XSS) vulnerabilities exist in Apache Struts 1.3.10. The flaws are located in the 'name' parameter of 'struts-examples/upload/upload-submit.do' and the 'message' parameter of both 'struts-cookbook/processSimple.do' and 'struts-cookbook/processDyna.do'. A remote attacker can exploit these by sending specially crafted requests, leading to the execution of arbitrary HTML or JavaScript in the context of the victim's browser session. This advisory (GHSA-9848-v244-962p / CVE-2012-1007) was officially withdrawn in May 2026 after being deemed invalid.

Affected products

  • Apache Struts <= 1.3.10

Identifiers

  • CVE-2012-1007
  • GHSA-9848-v244-962p

Timeline

  • 2012-02-07: disclosed: NVD publication date
  • 2022-05-14: advisory: GitHub Advisory published
  • 2026-05-14: other: Advisory withdrawn as invalid

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.