CVE-2018-1327
Apache Struts REST Plugin can potentially allow a DoS attack
Also known as GHSA-38cr-2ph5-frr9
Mitigation
- Upgrade org.apache.struts:struts2-rest-plugin to 2.5.16 or later.
Who should check
- Projects that depend on Maven package org.apache.struts:struts2-rest-plugin (>= 2.1.1, < 2.5.16)
- Anyone running Apache Software Foundation Apache Struts Apache Struts 2.1.1 to 2.5.14.1
Vulnerability facts
- Affected
- org.apache.struts:struts2-rest-plugin >= 2.1.1, < 2.5.16
- Fixed in
- 2.5.16
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 7.5 (v3.0, NVD)CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: None
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: None
- Integrity impact: None
- Availability impact: High
- EPSS
- 8.81% chance of exploitation in 30 days (percentile 96, 2026-11-26)
- CWE
- CWE-91
- Modified
Description
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Maven org.apache.struts:struts2-rest-plugin | >= 2.1.1, < 2.5.16 | 2.5.16 | osv |
| Apache Software Foundation Apache Struts | Apache Struts 2.1.1 to 2.5.14.1 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2018-1327. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2018-1327.md Affected: org.apache.struts:struts2-rest-plugin >= 2.1.1, < 2.5.16 Fixed in: 2.5.16 Steps: 1. Search this machine and project for org.apache.struts:struts2-rest-plugin (Maven), Apache Software Foundation Apache Struts: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
Patches
- http://www.oracle.com/technetwork/security-advisory/cpujul2018-4258247.html
- https://github.com/apache/struts/commit/4260bee634cb606be6071bce2383fddb510608aa
- https://github.com/apache/struts/commit/67ecf3a21608e20449bcb7895b22204b400fecd4
- https://github.com/apache/struts/commit/9260720568cee9e868d2899228eceed0c3359323
Other
- https://security.netapp.com/advisory/ntap-20180330-0001/
- http://www.securitytracker.com/id/1040575
- http://www.securityfocus.com/bid/103516
- https://cwiki.apache.org/confluence/display/WW/S2-056
- https://lists.apache.org/thread.html/r02c2d634fa74209d941c90f9a4cd36a6f12366ca65f9b90446ff2de3%40%3Cissues.struts.apache.org%3E
- https://lists.apache.org/thread.html/rf482c101a88445d73cc2e89dbf7f16ae00a4aa79a544a1e72b2326db%40%3Cissues.struts.apache.org%3E
- https://github.com/apache/struts
- https://lists.apache.org/thread.html/r02c2d634fa74209d941c90f9a4cd36a6f12366ca65f9b90446ff2de3@%3Cissues.struts.apache.org%3E
- https://lists.apache.org/thread.html/rf482c101a88445d73cc2e89dbf7f16ae00a4aa79a544a1e72b2326db@%3Cissues.struts.apache.org%3E
- https://security.netapp.com/advisory/ntap-20180330-0001
- https://web.archive.org/web/20200227124859/http://www.securityfocus.com/bid/103516
- https://web.archive.org/web/20200923124543/http://www.securitytracker.com/id/1040575
FAQ
Is CVE-2018-1327 being exploited?
There is no confirmed exploitation: CVE-2018-1327 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 8.81% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2018-1327?
High: CVSS 7.5 (v3.0, scored by NVD). Remote, no login needed.
Which versions are affected by CVE-2018-1327?
org.apache.struts:struts2-rest-plugin >= 2.1.1, < 2.5.16.
Is there a fix for CVE-2018-1327?
Yes. Fixed in 2.5.16. Upgrade org.apache.struts:struts2-rest-plugin to 2.5.16 or later.
How do I check if I'm affected by CVE-2018-1327?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.