# CVE-2013-4316: Code injection in Apache Struts

Source: https://junglewise.ai/threats/cve-2013-4316-code-injection-in-apache-struts  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2022-05-17  
License: CC BY 4.0 with a link back

CVE-2013-4316 · Severity: info · Published 2022-05-17

Code injection in Apache Struts

Technologies: [org.apache.struts:struts2-core (Maven)](https://junglewise.ai/threats/technologies/org-apache-struts-struts2-core), [org.apache.struts:struts2-rest-plugin (Maven)](https://junglewise.ai/threats/technologies/org-apache-struts-struts2-rest-plugin). Vendors: [Maven](https://junglewise.ai/threats/vendors/maven).

## Quick answers

**Is CVE-2013-4316 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2013-4316 being exploited in the wild.

**How severe is CVE-2013-4316?** Informational severity, published 17 May 2022.

**Which products and versions are affected?** org.apache.struts:struts2-core (Maven) ECOSYSTEM:introduced=2.0.0,fixed=2.3.15.2; org.apache.struts:struts2-rest-plugin (Maven) ECOSYSTEM:introduced=2.0.0,fixed=2.3.15.2.

**Is there a fix for CVE-2013-4316?** Yes. org.apache.struts:struts2-core (Maven): upgrade to 2.3.15.2 or later; org.apache.struts:struts2-rest-plugin (Maven): upgrade to 2.3.15.2 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2013-4316?** Check whether you run org.apache.struts:struts2-core (Maven) or org.apache.struts:struts2-rest-plugin (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.

## How to fix

- org.apache.struts:struts2-core (Maven): upgrade to 2.3.15.2 or later

  ```sh
  # set org.apache.struts:struts2-core to 2.3.15.2 in your pom.xml or build.gradle
  ```

- org.apache.struts:struts2-rest-plugin (Maven): upgrade to 2.3.15.2 or later

  ```sh
  # set org.apache.struts:struts2-rest-plugin to 2.3.15.2 in your pom.xml or build.gradle
  ```


## Affected products

- org.apache.struts:struts2-core (Maven) ECOSYSTEM:introduced=2.0.0,fixed=2.3.15.2
- org.apache.struts:struts2-rest-plugin (Maven) ECOSYSTEM:introduced=2.0.0,fixed=2.3.15.2

## Identifiers

- CVE-2013-4316
- GHSA-j7h6-xr7g-m2c5

## Related threats

- [Apache Struts XXE injection in XWork component](https://junglewise.ai/threats/cve-2025-68493-apache-struts-xxe-injection-in-xwork-component)
- [Apache Struts has a Denial of Service vulnerability](https://junglewise.ai/threats/cve-2025-66675-apache-struts-has-a-denial-of-service-vulnerability)
- [Apache Struts is Vulnerable to DoS via File Leak](https://junglewise.ai/threats/cve-2025-64775-apache-struts-is-vulnerable-to-dos-via-file-leak)
- [Apache Struts file upload logic is flawed](https://junglewise.ai/threats/cve-2024-53677-apache-struts-file-upload-logic-is-flawed)
- [Apache Struts vulnerable to path traversal](https://junglewise.ai/threats/cve-2023-50164-apache-struts-vulnerable-to-path-traversal)
