CVE-2021-39239XML External Entity (XXE) vulnerability
- 7.5HighCVSS base score
- 4.3%Exploitation in 30 daysEPSS · top 8.6% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
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.
Timeline
ID reserved
By apache
- 30 days later
· 30 days later
Published
- 3 years later
· 3 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
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.6% of all CVEs (13 Nov 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.5.
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
References4
- 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)
- EUVD EUVD-2021-2007 (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://cveledger.app/cve/CVE-2021-39239)Record last updated .