XML External Entity Injection in XStream
Multiple XML external entity (XXE) vulnerabilities in the (1) Dom4JDriver, (2) DomDriver, (3) JDomDriver, (4) JDom2Driver, (5) SjsxpDriver, (6) StandardStaxDriver, and (7) WstxDriver drivers in XStream before 1.4.9 allow remote attackers to read arbitrary files via a crafted XML document.
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.9 | 1.4.9 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2016-3674
- https://github.com/x-stream/xstream/issues/25
- https://github.com/x-stream/xstream
- https://snyk.io/vuln/SNYK-JAVA-COMTHOUGHTWORKSXSTREAM-30385
- http://lists.fedoraproject.org/pipermail/package-announce/2016-April/183180.html
- http://lists.fedoraproject.org/pipermail/package-announce/2016-April/183208.html
- http://rhn.redhat.com/errata/RHSA-2016-2822.html
- http://rhn.redhat.com/errata/RHSA-2016-2823.html
- http://www.debian.org/security/2016/dsa-3575
- http://www.openwall.com/lists/oss-security/2016/03/25/8
- http://www.openwall.com/lists/oss-security/2016/03/28/1
- http://www.securityfocus.com/bid/85381
- http://www.securitytracker.com/id/1036419
- http://x-stream.github.io/changes.html#1.4.9
- CVSS vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N- Weakness (CWE)
CWE-200- Platform
- Java / Kotlin (Maven)
- Package
com.thoughtworks.xstream:xstream- Disclosed
- 30.06.2020
- Updated
- 11.10.2026 12:21
Sources and licenses
OSV / GitHub Advisory Database - GHSA-rgh3-987h-wpmw - 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
-
XML External Entity 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.