CVE-2017-9805: Apache Struts Deserialization of Untrusted Data Vulnerability

High severity, CVSS 8.1. Actively exploited: in CISA KEV since 2021-11-03. EPSS: 99% probability of exploitation activity in the next 30 days.

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.

What to do

CISA's required action (US federal agencies, by 2022-05-03): Apply updates per vendor instructions.

The record states a fixed version for each range of affected versions. Update to the one for the range your version is in: a later release on another branch may not have the fix.

  • Apache Struts, from 2.1.2, before 2.3.34: fixed in 2.3.34
  • Apache Struts, from 2.5.0, before 2.5.13: fixed in 2.5.13

Affected products

Affected packages

Published 2017-09-15. Last modified 2026-06-17.