---
id: "CVE-2026-81816"
kind: "vulnerability"
aliases: ["CVE-2026-81816"]
title: "Apache OFBiz: content-author users can read server files via XXE"
severity: "unknown"
cvss: null
epss: null
exploited: false
status: "open"
category: "runtime"
products: []
ecosystems: []
tags: ["apache-ofbiz", "java", "runtime", "self-hosted"]
not_affected_if: ["no-content-author-users", "version-24.09.08-or-later"]
published_at: "2026-11-05T15:17:26+00:00"
first_seen_at: "2026-11-05T15:39:22+00:00"
updated_at: "2026-11-05T15:40:49+00:00"
sources: [{"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-81816", "first_seen_at": "2026-11-05T15:39:22+00:00"}]
exploit_sources: []
---

# Apache OFBiz: content-author users can read server files via XXE

Apache OFBiz 24.09 before 24.09.08 parses stored text/xml content with an XML parser that resolves external entities. A logged-in user with content-author permission can read arbitrary files on the server and trigger server-side requests.

_Summary, check and fix written by a model from the sources; labelled as such._

## How to check

- Check the OFBiz version in the deployment, for example in the `framework/common/ofbiz-container` or release files, and look for a version below `24.09.08`
- Confirm whether the content-author permission is granted to users who can store DataResource content

## Fix

- Apache OFBiz: upgrade to `24.09.08`

## Timeline

- 2026-11-05T15:39:22+00:00 nvd https://nvd.nist.gov/vuln/detail/CVE-2026-81816

## From the sources

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.

---

_Free to read, with fair use of about 60 pages a minute. For higher limits or API access: sales@infrastack.ai_
