Every CVE Search/ Get API key

CVE-2021-39239

XML External Entity (XXE) vulnerability

7.5 HighFix available

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.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
High
Integrity
None
Availability
None

Exploit likelihood

4.34%Up 3.7 points since Sep 17, 2021
90%50%10%1%

What each source reports

NVD Score used 7.5

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.

Record
CVE-2021-39239
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
CVSS 2.0
5.0 MediumAV:N/AC:L/Au:N/C:P/I:N/A:N
Weakness
CWE-611
Updated
2026-11-02
CVE List No score

XML External Entity (XXE) vulnerability

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.

Record
CVE-2021-39239
Updated
2026-11-02
EUVDEUVD-2021-2007 No score

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.

Record
EUVD-2021-2007
Updated
2026-11-03
GitHub AdvisoriesGHSA-7rp6-w7mg-h8rw No score

XML External Entity Reference in Apache Jena

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.

Record
GHSA-7rp6-w7mg-h8rw
Weakness
CWE-611
Updated
2026-11-02
OSV 7.5

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.

Record
CVE-2021-39239
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Updated
2026-11-02
OSVDEBIAN-CVE-2021-39239 7.5

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.

Record
DEBIAN-CVE-2021-39239
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Updated
2026-11-02
OSVUBUNTU-CVE-2021-39239 7.5

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.

Record
UBUNTU-CVE-2021-39239
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Updated
2026-11-02
OSVGHSA-7rp6-w7mg-h8rw No score

XML External Entity Reference in Apache Jena

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.

Record
GHSA-7rp6-w7mg-h8rw
Weakness
CWE-611
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
org.apache.jena:jena-core
Maven
before 4.2.0
4.2.0
apache-jena
Debian:12
before 4.5.0-1
4.5.0-1
apache-jena
Debian:13
before 4.5.0-1
4.5.0-1
apache-jena
Debian:14
before 4.5.0-1
4.5.0-1
org.apache.jena:jena-core
Maven
before 4.2.0, plus listed versions
2.10.02.10.12.11.02.11.12.11.2
Show 31 moreShow less
2.12.02.12.12.13.02.7.0-incubating2.7.12.7.22.7.32.7.43.0.03.0.13.1.03.1.13.10.03.11.03.12.03.13.03.13.13.14.03.15.03.16.03.17.03.2.03.3.03.4.03.5.03.6.03.7.03.8.03.9.04.0.04.1.0
4.2.0
apache-jena
Ubuntu:22.04:LTS
All versions, plus listed versions
3.17.0-13.17.0-23.17.0-3
None known
apache-jena
Ubuntu:24.04:LTS
All versions, plus listed versions
4.5.0-24.9.0-1
None known
apache-jena
Ubuntu:25.10
All versions, plus listed versions
4.9.0-1
None known
apache-jena
Ubuntu:26.10
All versions, plus listed versions
4.9.0-1build1
None known
apache-jena
Ubuntu:26.04:LTS
All versions, plus listed versions
4.9.0-14.9.0-1build1
None known

History

History
RecordedChangedSources
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2021-39239 is a high vulnerability (CVSS 7.5) in Apache Jena, published September 16, 2021. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 4.34%, the 91st percentile. Fixed in org.apache.jena:jena-core 4.2.0.

References

Show 8 moreShow less
MoveEnter Open