CVE-2026-81816

Apache OFBiz: XML external entity injection (XXE)

Published Nov 5, 2026 CVSS 3.1 · 3.5 Low EPSS < 1% KEV · Not listed
Description
XML External Entity (XXE) Injection in ContentWorker in Apache OFBiz 24.09 before 24.09.08 on all platforms allows a remote authenticated attacker holding content-author permission to read arbitrary server files and trigger server-side request forgery by storing a crafted text/xml DataResource containing an external entity declaration, causing ContentWorker's rendering of that content — via renderContentAsText and related CMS/help render paths — to parse the stored XML using FreeMarker's default NodeModel.parse DocumentBuilderFactory, which enables neither FEATURE_SECURE_PROCESSING nor external-entity/DTD restrictions, resolving the external entity and returning its content in the rendered response. Users are recommended to upgrade to version 24.09.08, which fixes this issue.

Analysis

AI-generated

Technical impact

Apache OFBiz’s ContentWorker module is vulnerable to XML External Entity injection. An authenticated user with content‑author privileges can store a crafted XML DataResource that declares an external entity. When the content is rendered via renderContentAsText or similar CMS/help routes, FreeMarker’s default XML parser is used without security features such as FEATURE_SECURE_PROCESSING or DTD restrictions. This allows the attacker to read arbitrary files on the server or to trigger server‑side request forgery, exposing sensitive data or interacting with internal services. The weakness is identified as CWE‑611.

Affected Systems

All platforms running Apache OFBiz 24.09 before 24.09.08 are affected. The vulnerability exists in every 24.09 build older than 24.09.08, regardless of operating system.

Risk and Exploitability

The CVSS score is 3.5. The EPSS score is < 1%, and the vulnerability is not listed in the CISA KEV catalog, indicating no publicly known exploits. The attack requires an authenticated user with content‑author privileges. Once that precondition is satisfied, the attacker can read arbitrary files or induce SSRF. The risk to confidentiality and availability is significant for environments that allow authenticated content authors to create or modify XML DataResource content.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Apache OFBiz to version 24.09.08 or higher to resolve the XML external entity vulnerability.
  • Restrict content‑author permissions to only those users who truly need to create or modify DataResource content, thereby limiting the exposed attack surface for an authenticated attacker.
  • If an immediate upgrade is not possible, configure FreeMarker’s XML parser to enable FEATURE_SECURE_PROCESSING and disable external entity resolution, if the configuration permits, to mitigate the risk of external entity processing.

Generated by OpenCVE AI on November 9, 2026 at 18:36 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics cvssV3_1

{'score': 3.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:N/A:N'}

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Apache
Apache ofbiz
Apache Software Foundation
Apache Software Foundation apache Ofbiz
Vendors & Products Apache
Apache ofbiz
Apache Software Foundation
Apache Software Foundation apache Ofbiz
Type Values Removed Values Added
Description XML External Entity (XXE) Injection in ContentWorker in Apache OFBiz 24.09 before 24.09.08 on all platforms allows a remote authenticated attacker holding content-author permission to read arbitrary server files and trigger server-side request forgery by storing a crafted text/xml DataResource containing an external entity declaration, causing ContentWorker's rendering of that content — via renderContentAsText and related CMS/help render paths — to parse the stored XML using FreeMarker's default NodeModel.parse DocumentBuilderFactory, which enables neither FEATURE_SECURE_PROCESSING nor external-entity/DTD restrictions, resolving the external entity and returning its content in the rendered response. Users are recommended to upgrade to version 24.09.08, which fixes this issue.
Title Apache OFBiz: XML external entity injection (XXE)
Weaknesses CWE-611
References
Weaknesses
  • CWE-611

    Improper Restriction of XML External Entity Reference

Sources

Status
PUBLISHED
Assigner
apache
Published
Updated
Nov 9, 2026, 11:30 PM
Reserved
Aug 27, 2026, 1:00 PM
Status
Awaiting Analysis
Published
Nov 5, 2026, 3:17 PM
Modified
Nov 9, 2026, 5:17 PM