CVE-2022-28890
Critical · 9.8CVSS
9.8
EPSS
2.7%
Published
May 5, 2022
CISA due date
—
Cloudanix analysis
A data-handling library can be tricked into fetching and exposing internal files or systems when it processes certain specially formatted input files.
- Exploitation
- Remote Unauthenticated
- Attacker needs
- None
- Complexity
- Low
- Impact
- Data Exposure
- Component
- Library
- Class
- XXE
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
The RDF/XML parser processes external DTDs, enabling classic XXE attacks that can read arbitrary files, perform SSRF, or trigger denial of service.
Why it matters to the business
Attackers may obtain sensitive internal data or fully compromise systems that ingest untrusted RDF/XML, increasing breach and operational disruption risk; the flaw has been public for over four years with modest but steady exploitability signals.
How an attack unfolds
An attacker supplies a malicious RDF/XML document containing an external entity reference to any Jena-based application that parses untrusted input; the parser resolves the external DTD, allowing data exfiltration or other XXE side-effects.
How to fix it
Upgrade Apache Jena to a release that fully disables external entity resolution in the RDF/XML parser; if immediate upgrade is not possible, configure the underlying XML parser to prohibit external DTDs and entities.
How to confirm the fix worked
Test the patched parser with a known XXE test payload and confirm that external entity resolution is rejected; review application logs for any residual DTD-related warnings after deployment.
Typical attack path
- Identify an endpoint or API that accepts RDF/XML input processed by Apache Jena
- Craft an XML document with an external entity declaration pointing to a target resource or attacker-controlled server
- Submit the payload through normal application channels
- Observe or capture the resulting file contents, network callbacks, or error responses
How to detect it
Inspect application and XML parser logs for external entity resolution attempts, unexpected outbound network connections initiated by the Jena process, or error messages referencing DTD loading.
What your security team should do
- Prioritize upgrade of all Jena 4.4.0 and earlier deployments within normal change windows
- Add RDF/XML input validation or sandboxing where untrusted data is processed
- Monitor EPSS trend and re-evaluate if exploit code appears
The record
A vulnerability in the RDF/XML parser of Apache Jena allows an attacker to cause an external DTD to be retrieved. This issue affects Apache Jena version 4.4.0 and prior versions. Apache Jena 4.2.x and 4.3.x do not allow external entities.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Maven | org.apache.jena:jena | 4.4.0 | 4.5.0 |
| Debian:12 | apache-jena | 0 | 4.5.0-1 |
| Debian:13 | apache-jena | 0 | 4.5.0-1 |
| Ubuntu:22.04:LTS | apache-jena | 0 | No fix |
| Ubuntu:24.04:LTS | apache-jena | 0 | No fix |
| Ubuntu:24.10 | apache-jena | 0 | No fix |
| Ubuntu:25.04 | apache-jena | 0 | No fix |
| Ubuntu:25.10 | apache-jena | 0 | No fix |
| maven | org.apache.jena/jena | 4.4.0 | No fix |
Related vulnerabilities
- CVE-2023-32200 There is insufficient restrictions of called script functions in Apache Jena versions… Also affects org.apache.jena:jena
- CVE-2023-22665 There is insufficient checking of user queries in Apache Jena versions 4.7.0 and earlier… Also affects org.apache.jena:jena
- CVE-2022-45136 Apache Jena SDB 3.17.0 and earlier is vulnerable to a JDBC Deserialisation attack if the… Also affects apache-jena
- CVE-2026-89260 MoguBlog through 6.2 contains an XML external entity injection vulnerability in the… CWE-611
- CVE-2026-84941 An information disclosure vulnerability in the SAML Single Sign-On (SSO) functionality of… CWE-611
- CVE-2026-79572 An XXE (XML External Entity) vulnerability in the level-rule module of Distribution… CWE-611
- CVE-2026-19614 The API is prone to XML external entity (XXE) injection. CWE-611
- CVE-2026-71375 Improper restriction of XML external entity reference vulnerability in Cosminexus… CWE-611