CVE-2021-39152

published 23 Aug 2021 · updated 7 Oct 2026

A Server-Side Forgery Request vulnerability in XStream via HashMap unmarshaling

10.0CriticalCVSS 8.5EPSS 11%1 public exploits

A public exploit exists; no exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 11%. No fixed version is recorded.

XStream is a simple library to serialize objects to XML and back again. In affected versions this vulnerability may allow a remote attacker to request data from internal resources that are not publicly available only by manipulating the processed input stream with a Java runtime version 14 to 8. No user is affected, who followed the recommendation to setup XStream's security framework with a whitelist limited to the minimal required types. If you rely on XStream's default blacklist of the [Security Framework](https://x-stream.github.io/security.html#framework), you will have to use at least version 1.4.18.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
x-stream<1.4.18

Exploit evidence

1 public sources

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2021-39152 severity on Zeptric[![CVE-2021-39152](https://zeptric.io/badge/cve/CVE-2021-39152.svg)](https://zeptric.io/cve/CVE-2021-39152)