Back
CVE-2021-39239
XML External Entity (XXE) vulnerability
High7.5EPSS 4.3%
- Published
- Updated
- Reserved
- Assigned by
- apache
Description
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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 3.1 | High7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
- EPSS (exploitation in 30 days)
- 4.3% · top 8.7% of all CVEs (6 Nov 2026)
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.5.
Weakness
- XML External Entity (XXE) vulnerability
- CWE-611 (opens in a new tab)All about CWE-611 and its CVEs
Affected products
Apache Software Foundation · Apache Jena
- affected unspecified – < 4.1.0
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- Mavenorg.apache.jena:jena-coreGHSA-7rp6-w7mg-h8rw (opens in a new tab)
What to do
Workaround: Users are advised to upgrade to Apache Jena 4.2.0 or later.
References (4)
- https://lists.apache.org/thread.html/rf44d529c54ef1d0097e813f576a0823a727e1669a9f610d3221d493d%40%3Cusers.jena.apache.org%3E (opens in a new tab)x_refsource_MISCx_transferred
- [announce] 20210916 CVE-2021-39239: Apache Jena: XML External Entity (XXE) vulnerability (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [jena-dev] 20210921 Re: CVE-2021-39239 notifications for Jena 4.2.0 (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [jena-dev] 20210921 CVE-2021-39239 notifications for Jena 4.2.0 (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-7rp6-w7mg-h8rw (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2021-39239)Record last updated .