Read the docs
TI-2021-16624 Aliases CVE-2021-39239GHSA-7rp6-w7mg-h8rw

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

VendorProductAffected versionsFixed inStatusSource
ApacheApache Jenabefore 4.1.04.1.0Patch availableCNA
—org.apache.jena:jena-core (Maven)before 4.2.04.2.0Patch availableGHSA-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

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:apache:jena:*:*:*:*:*:*:*:*up to 4.1.0VulnerableApache
  • cpe:2.3:a:apache:jena:*:*:*:*:*:*:*:* Versions up to 4.1.0 Vulnerable ·Apache

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

  1. 2026-10-02 Threatist record created from CVE-2021-39239
  2. 2026-10-03 Alias added: GHSA-7rp6-w7mg-h8rw

References

  • 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