Skip to content
Fencer Intel
high 7.5

CVE-2021-39239 json

XML External Entity (XXE) vulnerability

published 5y ago modified 4mo ago also GHSA-7rp6-w7mg-h8rw , EUVD-2021-2007

cvss
7.5
version 3.1, NVD
cisa kev
Not listed
not in CISA's catalog
epss
4.3%
EPSS 4.3% chance of exploitation in 30 days, percentile 91%
public exploits
0
none known

Summary

A vulnerability in XML processing in Apache Jena, in versions up to 4.1.0, may allow an attacker to execute XML External Entities (XXE), including exposing the contents of local files to a remote server.

Patch / fix

  • maven org.apache.jena:jena-core 4.2.0
  • Apache Software Foundation Apache Jena 4.1.0
  • apache-jena Debian 14, Debian 13, Debian 12 4.5.0-1

debian advisories DEBIAN-CVE-2021-39239

Is CVE-2021-39239 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

Exploit prediction

4.34% chance of exploitation in the next 30 days, higher than 91% of all scored CVEs (FIRST EPSS, 2026-11-09).

CVSS scores

assigned by version score vector
NVD 3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
NVD 2.0 5.0 AV:N/AC:L/Au:N/C:P/I:N/A:N

Affected packages

ecosystem package affected fixed in
maven org.apache.jena:jena-core
<4.2.0
4.2.0

Affected products

  • Apache Software Foundation Apache Jena

Classification

Weakness
  • CWE-611 Improper Restriction of XML External Entity Reference

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.