# CVE-2017-9791: Code execution in Apache Struts 1 plugin

Source: https://junglewise.ai/threats/cve-2017-9791-apache-struts-1-improper-input-validation-vulnerability  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2022-05-13. Updated: 2026-05-10  
License: CC BY 4.0 with a link back

CVE-2017-9791 · Severity: critical · CVSS 3.1 · Exploited in the wild · Published 2022-05-13

The Struts 1 plugin in Apache Struts 2.1.x and 2.3.x allows remote code execution via improper input validation. An attacker can exploit this by passing a malicious field value in a raw message to the ActionMessage function.

Vendors: [Apache](https://junglewise.ai/threats/vendors/apache), [Maven](https://junglewise.ai/threats/vendors/maven).

## Quick answers

**Is CVE-2017-9791 exploited in the wild?** Yes. CVE-2017-9791 is known to be exploited in the wild, first recorded on 10 February 2022. Treat it as urgent.

**How severe is CVE-2017-9791?** Critical severity, with a CVSS score of 3.1, published 13 May 2022.

**Which products and versions are affected?** org.apache.struts:struts2-struts1-plugin (Maven) ECOSYSTEM:introduced=0,last_affected=2.3.37.

**Is there a fix for CVE-2017-9791?** 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-2017-9791 attacked?** It is attacked over the network, in a software library.

**Am I affected by CVE-2017-9791?** Check whether you run Apache Struts 1 or org.apache.struts:struts2-struts1-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.

## Affected products

- Apache Struts 2 2.1.x, 2.3.x

## Identifiers

- CVE-2017-9791
- GHSA-29rm-6752-gvwv

## Timeline

- 2022-02-10: kev added: Added to CISA Known Exploited Vulnerabilities Catalog
- 2022-02-10: disclosed

## Related threats

- [Improper Input Validation in Apache Struts](https://junglewise.ai/threats/cve-2006-1547-apache-struts-1-actionform-denial-of-service-vulnerability)
