Live threats

All CVEs / Apache

CVE-2018-1327Apache Struts

High 7.5 No auth needed

Priority
61
CVSS 3.0
7.5
EPSS
8.8%
probability of exploitation in 30 days · percentile 96
Auth required
No
Published
Mar 27, 2018
Updated
Jun 17, 2026
Category
Server · Cross-platform
Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

What happens

The Apache Struts REST Plugin is using XStream library which is vulnerable and allow perform a DoS attack when using a malicious request with specially crafted XML payload. Upgrade to the Apache Struts version 2.5.16 and switch to an optional Jackson XML handler as described here http://struts.apache.org/plugins/rest/#custom-contenttypehandlers. Another option is to implement a custom XML handler based on the Jackson XML handler from the Apache Struts 2.5.16.

Original NVD text.

What to do

  1. Apply the vendor's security update for Struts.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Maven org.apache.struts:struts2-rest-plugin ≥ 2.1.1 < 2.5.16 2.5.16 —

Per OSV / GitHub Advisories (GHSA-38cr-2ph5-frr9). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
apachestruts≥ 2.1.1 ≤ 2.5.14.1

Official sources

References

Links published by the sources. Open them with care.