Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CWE-1336 — Vulnerability Class 203

203 vulnerabilities classified as CWE-1336. AI Chinese analysis included.

CWE-1336 represents a critical injection vulnerability where applications fail to properly sanitize user-supplied data before passing it to a template engine. This weakness allows attackers to inject malicious template expressions or code directives that the engine interprets as executable logic rather than static text. Exploitation typically occurs when developers directly embed unvalidated user input into templates, enabling remote code execution, server-side request forgery, or sensitive data leakage. To mitigate this risk, developers must strictly enforce input validation and utilize built-in auto-escaping features provided by modern template frameworks. Additionally, implementing the principle of least privilege ensures that even if an injection succeeds, the potential impact is contained. Regular security audits and static code analysis tools can further help identify unsafe template usage patterns before deployment.

MITRE CWE Description
The product uses a template engine to insert or process externally-influenced input, but it does not neutralize or incorrectly neutralizes special elements or syntax that can be interpreted as template expressions or other code directives when processed by the engine. Many web applications use template engines that allow developers to insert externally-influenced values into free text or messages in order to generate a full web page, document, message, etc. Such engines include Twig, Jinja2, Pug, Java Server Pages, FreeMarker, Velocity, ColdFusion, Smarty, and many others - including PHP itself. Some CMS (Content Management Systems) also use templates. Template engines often have their own custom command or expression language. If an attacker can influence input into a template before it is processed, then the attacker can invoke arbitrary expressions, i.e. perform injection attacks. For example, in some template languages, an attacker could inject the expression "{{7*7}}" and determine if the output returns "49" instead. The syntax varies depending on the language. In some cases, XSS-style attacks can work, which can obscure the root cause if the developer does not closely investigate the root cause of the error. Template engines can be used on the server or client, so both "sides" could be affected by injection. The mechanisms of attack or the affected technologies might be different, but the mistake is fundamentally the same.
Common Consequences (1)
Integrity Execute Unauthorized Code or Commands
Mitigations (2)
Architecture and Design Choose a template engine that offers a sandbox or restricted mode, or at least limits the power of any available expressions, function calls, or commands.
Implementation Use the template engine's sandbox or restricted mode, if available.
CVE ID Title CVSS Severity Published
CVE-2026-115938 Low privilege condition filter escapes Twig sandbox, recovers "securityKey" and reaches RCE — cms 8.8 High 2026-10-23
CVE-2026-96355 Webform - Critical - Remote Code Execution - SA-CONTRIB-2026-175 — Webform - - 2026-10-22
CVE-2026-96392 AI CKEditor - Moderately critical - Code execution via Twig templates - SA-CONTRIB-2026-187 — AI CKEditor - - 2026-10-22
CVE-2026-78164 Apache Camel: HTTP producers resolve property placeholders in message-supplied URI override headers — Apache Camel 8.2 High 2026-10-19
CVE-2026-55240 Tianji: Remote Code Execution via lodash template evaluate pattern in survey feed templates — tianji 9.1 Critical 2026-10-15
CVE-2026-92982 Ansible-operator-plugins: ansible operator plugins: arbitrary code execution via jinja2 template injection — Red Hat Ansible Automation Platform 2.6 8.5 High 2026-10-15
CVE-2026-105474 SolusVM 2<=2.0.0-44576服务端模板注入漏洞 — SolusVM 2 9.4 Critical 2026-10-15
CVE-2026-110593 BottleCRM through 1.14.5 Server-Side Template Injection via Account Email create_mail — BottleCRM 5.4 Medium 2026-10-14
CVE-2026-103849 Adobe Commerce | Improper Neutralization of Special Elements Used in a Template Engine (CWE-1336) — Adobe Commerce 10.0 Critical 2026-10-13
CVE-2026-109652 Frappe ERPNext before 15.119.1 Server-Side Template Injection via Message Fields — erpnext 8.8 High 2026-10-12
CVE-2026-109305 Craft CMS 5.10.2 before 5.10.14 Twig Sandbox Bypass RCE via has some/has every — cms 8.8 High 2026-10-12
CVE-2026-108570 Furion .NET Framework View ViewEngine.cs RunCompile special elements in template engine — .NET Framework 6.3 Medium 2026-10-11
CVE-2026-108264 Wizarr: Authenticated Server-Side Template Injection (SSTI) in wizard step rendering leads to Remote Code Execution (RCE) — wizarr 9.1 Critical 2026-10-09
CVE-2026-67273 Dell Container Storage Modules 提权漏洞 — Container Storage Modules 9.6 Critical 2026-10-06
CVE-2026-105985 Authenticated RCE via render-components Entry Type overrides — cms 8.8 High 2026-10-06
CVE-2026-90970 Improper Neutralization of Special Elements Used in a Template Engine in GitLab AI Gateway — GitLab AI Gateway 9.9 Critical 2026-10-02
CVE-2026-53964 Document Merge Service vulnerable to RCE via SSTI (xlsx tempaltes) — document-merge-service 7.2 High 2026-10-01
CVE-2026-103540 formtools.org Form Tools Client Settings Clients.class.php updateClientSettingsTab special elements in template engine — Form Tools 6.3 Medium 2026-10-01
CVE-2026-102142 Kiteworks Core Remote Code Execution through Server-Side Template Injection — Core 7.2 High 2026-09-30
CVE-2026-102771 Naichen ThinkCMF Email Template MailController.php templatePut special elements in template engine — ThinkCMF 4.7 Medium 2026-09-29
CVE-2026-97359 HFS2 2.4.0 RCE via Multipart Upload Filename Template Injection — hfs2 10.0 Critical 2026-09-24
CVE-2026-73858 Solspace Freeform: Limited Twig template injection via submitted field values — craft-freeform 5.3 Medium 2026-09-23
CVE-2026-12370 Remote Code Execution Vulnerability — ManageEngine OpManager 7.6 High 2026-09-23
CVE-2026-94109 openEQUELLA < 2026.1.0 Authenticated Stored SSTI via FreemarkerPortletRenderer — openEQUELLA 8.0 High 2026-09-20
CVE-2026-92592 Craft CMS before 4.18.6 Remote Code Execution via signed cookie — cms 8.8 High 2026-09-16
CVE-2026-91925 Polyaxon through 2.16.4 Server-Side Template Injection via Unsandboxed Jinja2 Engine — polyaxon 8.8 High 2026-09-15
CVE-2026-81910 Concrete CMS 9 through 9.5.2 is vulnerable to Server-Side Template Injection (SSTI) in Theme Customizer via Unvalidated Style Values — Concrete CMS 5.9 Medium 2026-09-11
CVE-2026-9160 CSTI in Arma Digital's Website Template — Website Template 4.3 Medium 2026-09-11
CVE-2026-89094 Forgejo 代码注入漏洞 — Forgejo 9.9 Critical 2026-09-10
CVE-2026-19584 Velociraptor VQL injection during notebook restore from backup — Velociraptor 7.7 High 2026-09-10

Vulnerabilities classified as CWE-1336 represent 203 CVEs. The CWE taxonomy describes the weakness; review individual CVEs for product-specific impact.