CVE-2026-82910

Apache OFBiz: renderLink compiles link parameters as FreeMarker source

Published Nov 5, 2026 CVSS 3.1 · 8.8 High EPSS 1.0% KEV · Not listed
Description
Improper Neutralization of Special Elements Used in a Template Engine ('Server-Side Template Injection') in MacroScreenRenderer in Apache OFBiz 24.09 before 24.09.08 on all platforms allows a remote authenticated attacker holding only the two view permissions of a control-servlet webapp (e.g. CATALOG_VIEW and OFBTOOLS_VIEW on /catalog, held by OFBiz's own shipped order-entry clerk role) to execute arbitrary operating system commands as the OFBiz service account with a single GET request, by placing an apostrophe followed by FreeMarker expression source in a screen link parameter value, because renderLink concatenates link parameter values verbatim between apostrophes into an unquoted, unescaped template-source string that is compiled and evaluated at render time, allowing the injected expression to reach the allow-listed FlexibleStringExpander.expandString call and, through a runtime-assembled Groovy interpolation, unsandboxed code execution. Users are recommended to upgrade to version 24.09.08, which fixes this issue.

Analysis

AI-generated

Technical impact

RenderLink concatenates user supplied link parameter values directly into unquoted, unescaped template source. This creates a Server‑Side Template Injection flaw that allows a remote authenticated attacker to inject FreeMarker expressions, leading to the execution of arbitrary operating system commands as the OFBiz service account with a single GET request.

Affected Systems

All Apache OFBiz installations running version 24.09 before 24.09.08 on any platform are affected. The vulnerability is present on all operating systems where OFBiz runs and can be triggered by users who have the two view permissions of a control‑servlet webapp, such as CATALOG_VIEW and OFBTOOLS_VIEW.

Risk and Exploitability

The CVSS score of 8.8 classifies this as a high‑severity vulnerability that requires only authentication to two default view permissions and allows unrestricted command execution. Because it can be triggered by a single HTTP GET request, the attack surface is large and the exploitability is high. The CVE is not listed in CISA KEV and no EPSS score is available, but the impact on confidentiality, integrity, and availability of the affected system is severe.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Apache OFBiz to version 24.09.08 or later, which removes the vulnerable code path.
  • Re‑evaluate and limit the use of CATALOG_VIEW and OFBTOOLS_VIEW permissions to the minimum necessary roles.
  • Disable or sanitize screen link parameter values by configuring OFBiz to reject unescaped FreeMarker input or by applying an OWASP ESAPI filter for template content.

Generated by OpenCVE AI on November 5, 2026 at 19:33 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
CPEs cpe:2.3:a:apache:ofbiz:*:*:*:*:*:*:*:*
Type Values Removed Values Added
Metrics cvssV3_1

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

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, '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 Improper Neutralization of Special Elements Used in a Template Engine ('Server-Side Template Injection') in MacroScreenRenderer in Apache OFBiz 24.09 before 24.09.08 on all platforms allows a remote authenticated attacker holding only the two view permissions of a control-servlet webapp (e.g. CATALOG_VIEW and OFBTOOLS_VIEW on /catalog, held by OFBiz's own shipped order-entry clerk role) to execute arbitrary operating system commands as the OFBiz service account with a single GET request, by placing an apostrophe followed by FreeMarker expression source in a screen link parameter value, because renderLink concatenates link parameter values verbatim between apostrophes into an unquoted, unescaped template-source string that is compiled and evaluated at render time, allowing the injected expression to reach the allow-listed FlexibleStringExpander.expandString call and, through a runtime-assembled Groovy interpolation, unsandboxed code execution. Users are recommended to upgrade to version 24.09.08, which fixes this issue.
Title Apache OFBiz: renderLink compiles link parameters as FreeMarker source
Weaknesses CWE-1336
References
Weaknesses
  • CWE-1336

    Improper Neutralization of Special Elements Used in a Template Engine

Sources

Status
PUBLISHED
Assigner
apache
Published
Updated
Nov 6, 2026, 4:56 AM
Reserved
Aug 31, 2026, 10:12 AM
Status
Analyzed
Published
Nov 5, 2026, 2:17 PM
Modified
Nov 10, 2026, 9:43 PM