Improper Neutralization of Special Elements Used in a Template Engine ('Server-Side Template Injection') in Apache OFBiz 24.09 before 24.09.08 on all platforms allows a remote authenticated attacker holding only a stock non-administrative account to execute arbitrary operating system commands as the OFBiz process user, by using the updateLayoutImage event, which writes DataResource fields with no permission check, to retype an attacker-created DataResource as an FTL template evaluating its own primary key, then using the resulting FreeMarker evaluation to plant an OFBiz Form Widget whose use-when attribute runs unsandboxed Groovy. Users are recommended to upgrade to version 24.09.08, which fixes this issue.
{
"cna_assigner": "apache",
"cwe_ids": [
"CWE-1336",
"CWE-425"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/85xxx/CVE-2026-85627.json",
"unresolved_ranges": [
{
"extracted_events": [
{
"range": [
{
"fixed": "24.09.08"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
}
]
}
]
}{
"extracted_events": [
{
"cpe": "cpe:2.3:a:apache:ofbiz:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "24.09.08"
}
],
"source": "CPE_RANGE"
}
]
}