Incident response on call, 24/7: +385 98 1900 984NewIR Retainer: a team on contract before an attack
HR · EN
High 8.8CVE-2026-133679

Apache OFBiz: server-side FreeMarker template execution via SurveyWrapper

Published 03/12/2026 · Updated 05/12/2026 · Apache OFBiz

Summary

The SurveyWrapper component in Apache OFBiz 24.09 before 24.09.09 contains an external control of file name or path flaw (CWE-73) combined with improper neutralization of template engine elements (CWE-1336). A low-privileged authenticated user with catalog create and content upload permissions can set a file: survey template location on a product store survey pointing to an uploaded FreeMarker template. The template is executed on the server whenever any shopper adds the product to the cart.

Per the CVSS vector (8.8, high), the attack is network-based, low complexity, requires a low-privileged login and no victim interaction. The attacker gains server-side template execution with write access to the entity layer, enabling escalation to full administrator and complete compromise of confidentiality, integrity and availability.

The vulnerability is not currently listed in CISA KEV; the EPSS score is about 0.41%.

Who is affected

Organizations running Apache OFBiz 24.09 up to (but not including) 24.09.09, especially e-commerce deployments with multiple users holding catalog and content permissions.

What to do

  1. Upgrade Apache OFBiz to version 24.09.09, which fixes the issue.
  2. Verify your OFBiz version and whether it falls in the affected range 24.09 – < 24.09.09.
  3. Until upgraded, restrict and review users holding catalog create and content upload permissions.
  4. Review product store survey configurations for template locations using the file: prefix and for unexpected uploaded FreeMarker files.
  5. Check for unauthorized new or modified administrator accounts and follow the official Apache advisory (lists.apache.org).

Affected products and versions

Apache Software Foundation Apache OFBiz24.09 – < 24.09.09Fixed in: 24.09.09

CVSS vector, explained

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Attack vector
Network (from the internet)
Attack complexity
Low
Privileges required
Regular user
User interaction
Not required
Scope
Vulnerable component only
Confidentiality
High impact
Integrity
High impact
Availability
High impact

Weakness type (CWE)

  • CWE-73 External control of file name or path
  • CWE-1336 Improper neutralization of special elements used in a template engine

References

Sources: CVE.org (CNA and CISA ADP), CISA KEV, FIRST EPSS. Always check the vendor's official advisory.