CVE-2021-39239 json
XML External Entity (XXE) vulnerability
published 2021-09-16 5 y ago modified 2026-06-17 4 mo 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
Exploit prediction
4.34% chance of exploitation in the next 30 days, higher than 91% of all scored CVEs (FIRST EPSS, 2026-11-08).
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
-
lists.apache.org
/thread.html/rf44d529c54ef1d0097e813f576a0823a727e1669a9f610d3221d493d%40%3Cusers.jena.apache.org%3E
web, mailing-list, vendor-advisory
-
lists.apache.org
/thread.html/rf44d529c54ef1d0097e813f576a0823a727e1669a9f610d3221d493d%40%3Cannounce.apache.org%3E
mailing-list
-
lists.apache.org
/thread.html/r0f03ae7e102c3e8587fdd36531fc167309335738156dfbd7d9c1bf45%40%3Cdev.jena.apache.org%3E
mailing-list
-
lists.apache.org
/thread.html/rce5241b228a1f0e5880f6b2bfdb7ae9ee420e94cb692738a0bbfed9d%40%3Cdev.jena.apache.org%3E
mailing-list
-
nvd.nist.gov
/vuln/detail/CVE-2021-39239
advisory
-
gitbox.apache.org
/repos/asf?p=jena.git
package
-
lists.apache.org
/thread.html/r0f03ae7e102c3e8587fdd36531fc167309335738156dfbd7d9c1bf45@%3Cdev.jena.apache.org%3E
web
-
lists.apache.org
/thread.html/rce5241b228a1f0e5880f6b2bfdb7ae9ee420e94cb692738a0bbfed9d@%3Cdev.jena.apache.org%3E
web
-
lists.apache.org
/thread.html/rf44d529c54ef1d0097e813f576a0823a727e1669a9f610d3221d493d@%3Cannounce.apache.org%3E
web
Sources
- CVE List CVE-2021-39239
- GitHub Advisory GHSA-7rp6-w7mg-h8rw
- NVD CVE-2021-39239
Fencer Vulns 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.