Remote code executionin Apache Struts.
On CISAThe US cyber defence agency. Its list names every hole it has seen used in real attacks.'s exploited list since 3 Nov 2021.
The REST Plugin in Apache Struts 2.1.1 through 2.3.x before 2.3.34 and 2.5.x before 2.5.13 uses an XStreamHandler with an instance of XStream for deserialization without any type filtering, which can lead to Remote Code Execution when deserializing XML payloads.
CISA: Apache Struts REST Plugin uses an XStreamHandler with an instance of XStream for deserialization without any type filtering, which can lead to remote code execution when deserializing XML payloads.
- Upgrade org.apache.struts:struts2-rest-plugin (Maven) to 2.3.34, 2.5.13 or later, whichever matches your release line.
- CISA requires US federal agencies to fix it by 3 May 2022.
Affected and fixed versions
From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.
From first report to first attacks
- 21 Jun 2017CVE ID reserved by apache.
- 5 Sep 2017Metasploit module: Apache Struts 2 REST Plugin XStream RCE.
- 6 Sep 2017First public proof of concept on GitHub.
- 15 Sep 2017Published in the CVE List.
- 3 Nov 2021Added to CISA's Known Exploited Vulnerabilities list.
- 21 Oct 2025CVE record last updated.
Attack code anyone can find
Exploit maturity: Exploited in the wild (CISA KEV). CISA assessment (SSVC): exploitation active.
Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.
Report a link
Other Struts vulnerabilities
Same weakness: Deserialization of untrusted data
- www.oracle.com x_refsource_CONFIRM
- struts.apache.org x_refsource_CONFIRM
- www.securitytracker.com vdb-entry, x_refsource_SECTRACK
- www.securityfocus.com vdb-entry, x_refsource_BID
- tools.cisco.com vendor-advisory, x_refsource_CISCO
- bugzilla.redhat.com x_refsource_CONFIRM
- blogs.apache.org x_refsource_CONFIRM
- lgtm.com x_refsource_MISC
- cwiki.apache.org x_refsource_CONFIRM
- security.netapp.com x_refsource_CONFIRM
- www.kb.cert.org third-party-advisory, x_refsource_CERT-VN
- www.cisa.gov government-resource
Patchminder. CVE-2017-9805: Remote code execution in Apache Struts. https://patchminder.com/cve/cve-2017-9805/ (accessed 5 December 2026).