{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2025-26865 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2025-26865 yet. Limit exposure of the affected software until one is available.","what":"CVE-2025-26865 is a low-severity code injection vulnerability in Apache Ofbiz, published on 10 Mar 2025. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2025-26865 and fix it if it is affected.\n\nWhat it is: CVE-2025-26865 is a low-severity code injection vulnerability in Apache Ofbiz, published on 10 Mar 2025. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2025-26865 in the wild and no public exploit code.\n\nAffected product: Apache Ofbiz. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2025-26865/ (Markdown: https://insights.sbomify.com/CVE-2025-26865/index.md)","id":"CVE-2025-26865","markdown":"https://insights.sbomify.com/CVE-2025-26865/index.md","name":"CVE-2025-26865","record":{"aliases":["GHSA-p9r8-xjx7-v86q"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Apache OFBiz","requires_auth":"none","summary":"Attacker can achieve remote code execution via server-side template injection in the ecommerce plugin of Apache OFBiz.","user_interaction":"not_required","vuln_class":"code_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"apache","cpe":[{"product":"ofbiz","vendor":"apache"}],"cvss":{"score":3.5,"severity":"low","source":"cisa-adp","vector":"CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-1336","name":"Improper Neutralization of Special Elements Used in a Template Engine"}],"description":"Improper Neutralization of Special Elements Used in a Template Engine vulnerability in Apache OFBiz.\n\nThis issue affects Apache OFBiz: from 18.12.17 before 18.12.18.  \n\nIt's a regression between 18.12.17 and 18.12.18.\nIn case you use something like that, which is not recommended!\nFor security, only official releases should be used.\n\nIn other words, if you use 18.12.17 you are still safe.\nThe version 18.12.17 is not a affected.\nBut something between 18.12.17 and 18.12.18 is.\n\nIn that case, users are recommended to upgrade to version 18.12.18, which fixes the issue.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":"2025-04-11","github_poc":1,"max_poc_stars":0,"metasploit":0,"nuclei":0,"refs":[{"date":"2025-04-11T16:18:19Z","kind":"github_poc","ref":"https://github.com/mbadanoiu/CVE-2025-26865","stars":0,"title":"CVE-2025-26865: FreeMarker Server-Side Template Injection via the \"ecommerce\" plugin in Apache OfBiz"}],"tier":"poc_unverified"},"has_fix":false,"headline":"Apache OFBiz: Server-Side Template Injection affecting the ecommerce plugin leading to possible RCE","id":"CVE-2025-26865","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"apache:ofbiz","products":["apache:ofbiz"],"type":"code_injection","year":"2025"},"n_packages":0,"n_references":4,"next":{"headline":"Apache HugeGraph-Server: RAFT and deserialization vulnerability","id":"CVE-2025-26866"},"packages":[],"prev":{"headline":"Apache IoTDB: Exposure of Sensitive Information in IoTDB OpenID Authentication","id":"CVE-2025-26864"},"products":["Apache OFBiz"],"published":"2025-03-10","related":[{"cvss_score":9.8,"headline":"Apache OFBiz Forced Browsing","id":"CVE-2024-45195","kev_date_added":"2025-02-04","published":"2024-09-04"},{"cvss_score":9.1,"headline":"Apache OFBiz Path Traversal","id":"CVE-2024-32113","kev_date_added":"2024-08-07","published":"2024-05-08"},{"cvss_score":8.1,"headline":"Apache OFBiz Incorrect Authorization","id":"CVE-2024-38856","kev_date_added":"2024-08-27","published":"2024-08-05"},{"cvss_score":10,"headline":"Code injection in n/a","id":"CVE-2013-2250","kev_date_added":null,"published":"2013-08-15"},{"cvss_score":10,"headline":"Unspecified vulnerability in the Apache Open For Business Project (aka OFBiz) 10.04.x before 10.04.03 has unknown impact and attack vectors.","id":"CVE-2012-3506","kev_date_added":null,"published":"2012-10-25"},{"cvss_score":9.8,"headline":"Apache OFBiz: Authentication Bypass via Password-Change Logic Flaw Leading to RCE","id":"CVE-2026-45434","kev_date_added":null,"published":"2026-05-19"},{"cvss_score":9.8,"headline":"Apache OFBiz: URLs allowing remote use of Groovy expressions, leading to RCE","id":"CVE-2024-47208","kev_date_added":null,"published":"2024-11-18"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-03-11","vendors":["Apache Software Foundation"]},"summary":"Attacker can achieve remote code execution via server-side template injection in the ecommerce plugin of Apache OFBiz.","url":"https://insights.sbomify.com/CVE-2025-26865/"}