Skip to content
OpenAdvisories
High · 8.1 Known exploited Scanner template Public exploit CVE-2017-9805 EUVD-2018-0602GHSA-gg9m-fj3v-r58c

REST Plugin in Apache Struts uses an XStreamHandler with an instance of XStream for deserialization without any type filtering

Published Sep 15, 2017 · Updated Oct 21, 2025 · Assigned by apache

Description

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.

Affected products

VendorProductAffectedFixed
Apache Software Foundation Apache Struts Apache Struts before 2.3.34 and 2.5.x before 2.5.13 —

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

Metasploit 1 module

Exploit-DB 1

GitHub 20 repositories · most starred shown

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Automated scanner template

A ready-made Nuclei template detects this vulnerability automatically. Vulnerabilities with public scanner templates are typically probed across the internet soon after the template appears — exposed systems should be patched first.

Source: projectdiscovery/nuclei-templates (MIT) — updated daily. Only links are listed.

Affected packages

EcosystemPackageAffectedFixedRecord
Maven org.apache.struts:struts2-rest-plugin >= 2.1.1, < 2.3.34 2.3.34 GHSA-gg9m-fj3v-r58c
Maven org.apache.struts:struts2-rest-plugin >= 2.5.0, < 2.5.13 2.5.13 GHSA-gg9m-fj3v-r58c

References