home / blog

2026-11-26 · high

CVE-2017-9805: Apache Struts Remote Code Execution Vulnerability

Apache Struts vulnerable to XML deserialization without filtering, with public exploits for RCE.

CVE-2017-9805: Apache Struts Remote Code Execution Vulnerability

The CVE-2017-9805 vulnerability concerns the REST plugin in Apache Struts, which uses an XStreamHandler with an instance of XStream for deserialization without any type filtering. This flaw allows remote code execution when XML payloads are deserialized, directly affecting applications using vulnerable versions of the Apache Struts framework.

The severity is classified as high (CVSS 8.1) and the vulnerability was published in 2017. Signals indicate the existence of public repositories that claim to contain exploits for this vulnerability, suggesting it remains a relevant target for potential attacks despite the age of the flaw.

For defense, organizations must immediately apply patches by updating Apache Struts to version 2.3.34 or later, or 2.5.13 or later. It is also recommended to review REST plugin configurations, monitor for anomalous XML requests, and restrict access to exposed REST interfaces.

At a glance

What
XML deserialization vulnerability without filtering that allows remote code execution
Severity
High (CVSS 8.1)
Affected versions
Apache Struts 2.1.1 through 2.3.x before 2.3.34 and 2.5.x before 2.5.13
Fix
Update to Struts 2.3.34 or later, or 2.5.13 or later
Status
Vulnerability published in 2017, public exploits exist
Action
Apply patches and update affected versions

Sources: NVD, CVE-2017-9805

← All articles