Command Injection in Xstream
Xstream API versions up to 1.4.6 and version 1.4.10, if the security framework has not been initialized, may allow a remote attacker to run arbitrary shell commands by manipulating the processed input stream when unmarshaling XML or any supported format. e.g. JSON.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Java / Kotlin (Maven) | com.thoughtworks.xstream:xstream | < 1.4.7, >= 1.4.10, < 1.4.11 | 1.4.7, 1.4.11 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2013-7285
- https://github.com/x-stream/xstream/commit/6344867dce6767af7d0fe34fb393271a6456672d
- https://lists.apache.org/thread.html/6d3d34adcf3dfc48e36342aa1f18ce3c20bb8e4c458a97508d5bfed1@%3Cissues.activemq.apache.org%3E
- https://lists.apache.org/thread.html/dcf8599b80e43a6b60482607adb76c64672772dc2d9209ae2170f369@%3Cissues.activemq.apache.org%3E
- https://www.mail-archive.com/user@xstream.codehaus.org/msg00604.html
- https://www.mail-archive.com/user@xstream.codehaus.org/msg00607.html
- https://www.oracle.com/security-alerts/cpuoct2020.html
- https://x-stream.github.io/CVE-2013-7285.html
- http://blog.diniscruz.com/2013/12/xstream-remote-code-execution-exploit.html
- http://seclists.org/oss-sec/2014/q1/69
- http://web.archive.org/web/20140204133306/http://blog.diniscruz.com/2013/12/xstream-remote-code-execution-exploit.html
- CVSS vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H- Weakness (CWE)
CWE-77, CWE-78- Platform
- Java / Kotlin (Maven)
- Package
com.thoughtworks.xstream:xstream- Disclosed
- 29.05.2019
- Updated
- 11.10.2026 12:21
Sources and licenses
OSV / GitHub Advisory Database - GHSA-f554-x222-wgf7 - CC BY 4.0
Vulnerability history: com.thoughtworks.xstream:xstream
All published vulnerabilities of this package (Java / Kotlin (Maven)), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 37
- First → latest
- 05.2019 11.2024
- Without a fix
- 0
- Exploited in attacks
- 1
Severity breakdown
- Critical 2
- High 22
- Medium 13
Disclosures per year
- 2019: 2
- 2020: 5
- 2021: 26
- 2022: 3
- 2023: 0
- 2024: 1
- 2025: 0
- 2026: 0
-
Command Injection in Xstream this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.