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

Source: https://junglewise.ai/threats/cve-2012-1007-apache-struts-xss-in-multiple-components  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2022-05-14. Updated: 2026-05-14  
License: CC BY 4.0 with a link back

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](https://junglewise.ai/threats/technologies/struts), [org.apache.struts:struts-core (Maven)](https://junglewise.ai/threats/technologies/org-apache-struts-struts-core), [struts:struts (Maven)](https://junglewise.ai/threats/technologies/struts-struts). Vendors: [Apache](https://junglewise.ai/threats/vendors/apache), [Maven](https://junglewise.ai/threats/vendors/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

- [https://api.github.com/users/warkentyne](https://api.github.com/users/warkentyne)
- [https://github.com/warkentyne](https://github.com/warkentyne)
- [https://api.github.com/users/warkentyne/gists%7B/gist_id%7D](https://api.github.com/users/warkentyne/gists%7B/gist_id%7D)
- [https://api.github.com/users/warkentyne/repos](https://api.github.com/users/warkentyne/repos)
- [https://avatars.githubusercontent.com/u/114115776?v=4](https://avatars.githubusercontent.com/u/114115776?v=4)
- [https://api.github.com/users/warkentyne/events%7B/privacy%7D](https://api.github.com/users/warkentyne/events%7B/privacy%7D)

## Related threats

- [Apache Struts race condition in message formatter for date/time arguments](https://junglewise.ai/threats/cve-2026-104714-concurrent-execution-using-shared-resource-with-improper)
- [Apache Struts REST plugin unbounded request body denial of service](https://junglewise.ai/threats/cve-2026-104713-allocation-of-resources-without-limits-or-throttling)
- [Apache Struts asymmetric resource consumption in BigDecimal rendering](https://junglewise.ai/threats/cve-2026-104712-asymmetric-resource-consumption-amplification-vulnerability-in)
- [Apache Struts expression language injection in legacy RESTful action mapper](https://junglewise.ai/threats/cve-2026-104711-improper-neutralization-of-special-elements-used-in-an)
- [Apache Struts has a Denial of Service vulnerability](https://junglewise.ai/threats/cve-2025-66675-apache-struts-has-a-denial-of-service-vulnerability)
