CVE-2026-50223: Apache OFBiz: DataResource Low-Privileged Authenticated FreeMarker Template Injection Leads to Remote Code Execution
Improper Control of Generation of Code ('Code Injection') vulnerability in Apache OFBiz allows a low-privileged authenticated user with Content/DataResource editing privileges to perform template injection attacks that could lead to Remote Code Execution.
This issue affects Apache OFBiz: before 24.09.07.
Users are recommended to upgrade to version 24.09.07, which fixes the issue.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
Apache OFBizto a version that resolves this vulnerability.Fixed in 24.09.07
Event History
Frequently Asked Questions
What is the severity of CVE-2026-50223?
The severity of CVE-2026-50223 is rated as high, with a CVSS score of 8.8.
How do I fix CVE-2026-50223?
To fix CVE-2026-50223, upgrade Apache OFBiz to version 24.0 or later.
What type of vulnerability is CVE-2026-50223?
CVE-2026-50223 is a Code Injection vulnerability that allows for template injection attacks.
Who is affected by CVE-2026-50223?
Low-privileged authenticated users with Content/DataResource editing privileges in Apache OFBiz are affected by CVE-2026-50223.
What impact does CVE-2026-50223 have on Apache OFBiz?
CVE-2026-50223 can lead to Remote Code Execution due to improper control of code generation.