cvelo
P2 · HighCVSS 8.8EPSS 0.8%

Apache OFBiz: renderLink compiles link parameters as FreeMarker source

  • CVE-2026-82910
  • GHSA-gp8q-qfv7-5mrr
  • EUVD-2026-117476

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.

Text from the CVE.org record.

Recommendation

  • apache ofbiz

    • If you run a version before 24.09.08update to 24.09.08 or later

Taken from the version ranges of the NVD record. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.

Affected

  • apache ofbiz

    Affected versionsFixed in
    before 24.09.0824.09.08

Product versions from the NVD record.

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.