Actively exploited vulnerability / CVE-2017-9805
Apache Struts: an attacker can take control of the server through the REST plugin
A flaw in the REST plugin of Apache Struts lets a remote attacker run their own commands on the server hosting the application. This means they could steal data, change the application, or use the server as a stepping stone to attack the rest of your network. It is on the lists of vulnerabilities used in real attacks kept by both CISA (the US cybersecurity agency) and ENISA (the EU cybersecurity agency).
- Identifier
- CVE-2017-9805 · EUVD-2018-0602
- Severity
- High (8.1/10)
- On the CISA list (US)
- yes, since 3 November 2021
- Deadline given to US federal agencies
- 3 May 2022
- On the ENISA list (EU)
- yes
- Probability of exploitation (EPSS)
- 99.3% (FIRST's estimate for the next 30 days)
Does it concern you?
Apache Struts is a building block for Java web applications such as portals, online shops, or internal business tools. You may have it if your company runs custom web applications built in Java, even if you are not aware of it.
Ask your IT team or the company that built your application whether it uses Apache Struts with the REST plugin and which version. Affected are versions from 2.1.2 up to but not including 2.3.34, and 2.5.x versions before 2.5.13.
Affected products and versions
- Apache Struts
- struts: from 2.1.2 before 2.3.34; from 2.5.0 before 2.5.13
What to do
Have Apache Struts updated to version 2.3.34 or 2.5.13, or later, following the vendor's instructions. If the update cannot be done right away, ask your developer to apply Apache's guidance for the REST plugin.
Versions that contain the fix: 2.3.34, 2.5.13.
The official description
The text below is the description from the public database.
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.
Sources
Data from the public CVE and NVD databases, the CISA KEV and ENISA EU KEV lists and FIRST's EPSS score. The explanations are ours, written from that data. Last updated: 29 November 2026.