{"id":"CVE-2026-65693","summary":"Microweber CMS 2.0.20 Server-Side Template Injection via Mail Templates","details":"Microweber CMS through 2.0.20 contains a server-side template injection vulnerability that allows authenticated administrators to achieve arbitrary OS command execution by injecting Twig expressions into mail templates. Attackers can exploit the unsandboxed Twig environment in TwigView::render(), which lacks SandboxExtension or a SecurityPolicy, to inject malicious expressions such as filter('system') into mail template bodies stored unsanitized in the database, causing automatic payload execution on each subsequent application event that triggers a mail dispatch.","modified":"2026-08-12T03:51:28.322347431Z","published":"2026-07-24T15:33:35.973Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/65xxx/CVE-2026-65693.json","cna_assigner":"VulnCheck","cwe_ids":["CWE-94"]},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/65xxx/CVE-2026-65693.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-65693"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/microweber-cms-server-side-template-injection-via-mail-templates"},{"type":"PACKAGE","url":"https://github.com/microweber/microweber"},{"type":"EVIDENCE","url":"https://gist.github.com/W40X/584f4b088d310bc5280cc74bbf97831a"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/microweber/microweber","events":[{"introduced":"0"},{"last_affected":"51ac7113f29aef8ad51e27837aa45c788aa5c041"}],"database_specific":{"source":"AFFECTED_FIELD","extracted_events":[{"introduced":"0"},{"last_affected":"2.0.20"}]}}],"versions":["v2.0.20","v2.0.19","v2.0.18","v2.0.12","v2.0.10","v2.0.9","v2.0.7","v2.0.6","v2.0.5","v2.0.4","v2.0.3","v1.3.4","v1.3.3","v1.3.2","v1.3.1","v1.3.0","v1.2.11","v1.2.10","v1.2.9","1.2.9","v1.2.8","v1.2.7","v1.2.6","v1.2.5","v1.2.4","v1.2.3","1.0.7-fix1","1.0.6","1.0.5-fix1","1.0.3"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-65693.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"}]}