XML external entity (XXE) in Apache Jena
Priority MEDIUM 40CWE-611Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Information disclosure
- Confidentiality · integrity · availability
- High · None · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub. Impact type from CWE-611 and the CVSS impact.
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.
Why it matters now
EPSS 0.04342 91st percentileScored 2026-11-07
Fix Fixed Apache Jena (Apache Software Foundation): 4.1.0org.apache.jena:jena-core (Maven): 4.2.0
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Apache | Apache Jena | before 4.1.0 | 4.1.0 | Patch available | CNA |
| — | org.apache.jena:jena-core (Maven) | before 4.2.0 | 4.2.0 | Patch available | GHSA-7rp6-w7mg-h8rw |
- Apache Jena VendorApache Affected before 4.1.0 Fixed in 4.1.0 Patch available CNA
- org.apache.jena:jena-core (Maven) Vendor— Affected before 4.2.0 Fixed in 4.2.0 Patch available GHSA-7rp6-w7mg-h8rw
Remediation
- Fix · CNA Apache Jena (Apache Software Foundation) Fixed in 4.1.0
- Fix · GHSA-7rp6-w7mg-h8rw org.apache.jena:jena-core (Maven) Fixed in 4.2.0 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2021-39239
- 2026-10-03 Alias added: GHSA-7rp6-w7mg-h8rw
References
Advisory 2
Other 7
- [announce] 20210916 CVE-2021-39239: Apache Jena: XML External Entity (XXE) vulnerability
- [jena-dev] 20210921 Re: CVE-2021-39239 notifications for Jena 4.2.0
- [jena-dev] 20210921 CVE-2021-39239 notifications for Jena 4.2.0
- https://gitbox.apache.org/repos/asf?p=jena.git
- https://lists.apache.org/thread.html/r0f03ae7e102c3e8587fdd36531fc167309335738156dfbd7d9c1bf45@%3Cdev.jena.apache.org%3E
- https://lists.apache.org/thread.html/rce5241b228a1f0e5880f6b2bfdb7ae9ee420e94cb692738a0bbfed9d@%3Cdev.jena.apache.org%3E
- https://lists.apache.org/thread.html/rf44d529c54ef1d0097e813f576a0823a727e1669a9f610d3221d493d@%3Cannounce.apache.org%3E
More Apache Jena vulnerabilities
- TI-2022-11511 Processing external DTDs CVSS 3.1CRITICAL 9.8
- TI-2023-15499 Apache Jena: Exposure of execution in script engine expressions. CVSS 3.1HIGH 8.8
- TI-2025-32034 Apache Jena: Configuration files uploaded by administrative users are not check properly CVSS 3.1HIGH 8.8
- TI-2025-31627 Apache Jena: Administrative users can create files outside the server directory space via the admin UI CVSS 3.1HIGH 7.5
- TI-2023-08840 Apache Jena: Exposure of arbitrary execution in script engine expressions. CVSS 3.1MEDIUM 5.4
Sources
- CVE-2021-39239 · CVE Program
- CVE-2021-39239 · NVD
- FIRST EPSS
- GHSA-7rp6-w7mg-h8rw · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences