# CVE-2026-65693: Microweber CMS server-side template injection in mail templates

Source: https://junglewise.ai/threats/cve-2026-65693-microweber-cms-server-side-template-injection-in-mail-templates  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-07-24. Updated: 2026-07-24  
License: CC BY 4.0 with a link back

CVE-2026-65693 · Severity: high · CVSS 7.2 · Published 2026-07-24

Microweber CMS, a website builder and content management system, contains a security flaw in how it handles email templates. An administrator can insert malicious code into these templates that allows them to take full control of the underlying web server. Once the code is saved, it will automatically run whenever the system sends an email, such as during a new order or user registration, potentially leading to data theft or a complete service shutdown.

Technologies: [Microweber](https://junglewise.ai/threats/technologies/microweber). Vendors: [Microweber](https://junglewise.ai/threats/vendors/microweber).

## Quick answers

**Is CVE-2026-65693 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-65693 being exploited in the wild.

**How severe is CVE-2026-65693?** High severity, with a CVSS score of 7.2, published 24 July 2026.

**Which products and versions are affected?** Microweber <= 2.0.20.

**Is there a fix for CVE-2026-65693?** No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.

**How is CVE-2026-65693 attacked?** It is attacked over the network, in a network appliance.

**Am I affected by CVE-2026-65693?** Check whether you run Microweber at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## Technical details

Microweber CMS through 2.0.20 is vulnerable to Server-Side Template Injection (SSTI) leading to Remote Code Execution (RCE). The vulnerability exists in the TwigView::render() method and other inline Twig environments which fail to implement Twig's SandboxExtension or a SecurityPolicy. An authenticated administrator can inject malicious Twig expressions, such as filter('system'), into mail template bodies. These templates are stored unsanitized in the database and executed whenever a system event (like a checkout or registration) triggers a mail dispatch. As the project is reportedly abandoned, no official patch is available; users are advised to manually implement a strict Twig security policy or restrict access to the template editor.

## Affected products

- Microweber Microweber CMS <= 2.0.20

## Timeline

- 2026-07-15: disclosed: Vulnerability discovered and reported to VulnCheck
- 2026-07-23: advisory: Public disclosure via GitHub Gist
- 2026-07-24: other: CVE published to NVD dataset

## References

- [https://gist.github.com/W40X/584f4b088d310bc5280cc74bbf97831a](https://gist.github.com/W40X/584f4b088d310bc5280cc74bbf97831a)
- [https://www.vulncheck.com/advisories/microweber-cms-server-side-template-injection-via-mail-templates](https://www.vulncheck.com/advisories/microweber-cms-server-side-template-injection-via-mail-templates)

## Related threats

- [Microweber reflected cross-site scripting in admin settings](https://junglewise.ai/threats/cve-2026-5696-reflected-cross-site-scripting-xss-in-microweber-the-vulnerability)
- [Microweber administration panel arbitrary file upload](https://junglewise.ai/threats/cve-2026-5695-arbitrary-file-upload-vulnerability-due-to-a-lack-of-proper)
- [Microweber CMS path traversal in ServeStaticFileController](https://junglewise.ai/threats/cve-2026-65694-microweber-cms-path-traversal-in-servestaticfilecontroller)
- [Microweber path traversal in thumbnail_img API endpoint](https://junglewise.ai/threats/cve-2026-12198-microweber-path-traversal-in-thumbnail-img-api-endpoint)
- [Microweber 2.0.15 contains a stored cross-site scripting vulnerability that allows authenticated attackers to inject…](https://junglewise.ai/threats/cve-2024-58289-microweber-2-0-15-contains-a-stored-cross-site-scripting)
