{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-133731",
        "assignerOrgId": "f0158376-9dc2-43b6-827c-5f631a4d8d09",
        "state": "PUBLISHED",
        "assignerShortName": "apache",
        "dateReserved": "2026-11-20T12:43:42.263Z",
        "datePublished": "2026-12-03T19:40:44.999Z",
        "dateUpdated": "2026-12-03T19:40:44.999Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "f0158376-9dc2-43b6-827c-5f631a4d8d09",
                "shortName": "apache",
                "dateUpdated": "2026-12-03T19:40:44.999Z"
            },
            "title": "Apache OFBiz: External Control of File Name or Path in MimeTypeHtmlTemplate Enables Local File Read and Template Execution",
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "description": "CWE-73 External control of file name or path",
                            "lang": "en",
                            "cweId": "CWE-73",
                            "type": "CWE"
                        }
                    ]
                },
                {
                    "descriptions": [
                        {
                            "description": "CWE-1336 Improper neutralization of special elements used in a template engine",
                            "lang": "en",
                            "cweId": "CWE-1336",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "source": {
                "discovery": "EXTERNAL"
            },
            "affected": [
                {
                    "vendor": "Apache Software Foundation",
                    "product": "Apache OFBiz",
                    "versions": [
                        {
                            "status": "affected",
                            "version": "24.09",
                            "lessThan": "24.09.09",
                            "versionType": "semver"
                        }
                    ],
                    "defaultStatus": "unaffected"
                }
            ],
            "descriptions": [
                {
                    "value": "External Control of File Name or Path in MimeTypeHtmlTemplate in Apache OFBiz 24.09 before 24.09.09 on all platforms allows a low-privileged authenticated user with Content Manager view access to read arbitrary local files, or with Content Manager create access to execute an uploaded FreeMarker template, via the HTML template location of a MIME type, which is used whenever any visitor, including an anonymous one, views content of that type. Users are recommended to upgrade to version 24.09.09, which fixes this issue.",
                    "lang": "en",
                    "supportingMedia": [
                        {
                            "type": "text/html",
                            "base64": false,
                            "value": "External Control of File Name or Path in MimeTypeHtmlTemplate in Apache OFBiz 24.09 before 24.09.09 on all platforms allows a low-privileged authenticated user with Content Manager view access to read arbitrary local files, or with Content Manager create access to execute an uploaded FreeMarker template, via the HTML template location of a MIME type, which is used whenever any visitor, including an anonymous one, views content of that type. Users are recommended to upgrade to version 24.09.09, which fixes this issue."
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://lists.apache.org/thread.html/8s8jf9kgtncwdnoqdmyw4m2yhnrgog98",
                    "tags": [
                        "vendor-advisory"
                    ]
                }
            ],
            "metrics": [
                {
                    "other": {
                        "type": "Textual description of severity",
                        "content": {
                            "text": "important"
                        }
                    },
                    "scenarios": [
                        {
                            "lang": "en",
                            "value": "GENERAL"
                        }
                    ]
                }
            ],
            "credits": [
                {
                    "lang": "en",
                    "value": "Yu Deshui (于得水), (@qiushui_sky)",
                    "type": "reporter"
                },
                {
                    "lang": "en",
                    "value": "Binbin Xu of Tencent YUNDING LAB CodeBuddy Security",
                    "type": "reporter"
                }
            ],
            "x_generator": {
                "engine": "Vulnogram 1.0.3"
            }
        }
    }
}