CWE-1336
Improper Neutralization of Special Elements Used in a Template Engine
Monthly
Server-side template injection in WebPros WHMCS (CWE-1336) lets an authenticated, low-privilege client account escalate to reading sensitive host configuration files - including database credentials - and to executing code on the server. The vendor rates it CVSS 9.0 (AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H): any self-registered customer login is enough on the attacker side, but successful exploitation also requires user interaction, most plausibly a staff member or administrator rendering attacker-controlled template content. No public exploit code and no confirmed active exploitation are reported in the available data; the priority label is act_now and a vendor security update dated 2026-11-23 addresses the issue, so WHMCS operators should treat patching as urgent.
Remote code execution in JetBrains TeamCity is reachable through server-side FreeMarker notification templates and affects versions before 2026.2.2 on the 2026.2.x branch and before 2026.1.6 on the 2026.1.x branch. The CVSS vector requires high privileges (PR:H), so exploitation depends on authenticated administrative access sufficient to create or edit notification templates, making this a privilege-to-code-execution path rather than an unauthenticated compromise. No public exploit or CISA KEV entry is identified in the supplied data, and priority guidance places remediation in this week's queue rather than emergency response.
Authenticated users of Atlassian Bamboo Data Center 12.0.0-12.0.2 and 12.1.0-12.1.12 can exploit a server-side template injection flaw to run arbitrary commands on the server, with high impact to confidentiality, integrity and availability. Exploitation requires a valid account and an additional attack requirement flagged as AT:P but not described in the available sources; SSVC records no known exploitation and the attack is not automatable, and no public exploit was identified at time of analysis. The priority is this_week - a genuine but non-emergency issue - and Atlassian has released a fix for the 12.1 branch in 12.1.13.
Unauthenticated remote code execution in Batflat CMS is reachable through the public /contact endpoint: message input submitted in a POST request is passed unsanitized to the template engine, so a crafted message is evaluated server-side and can execute arbitrary PHP code under the web server account (www-data). The CPE entry carries a wildcard version, meaning no fixed or unaffected release has been identified, and the project is described as no longer maintained with the issue unfixed, so every deployment of the CMS that exposes the contact form is in scope. The assessor's decision is act_now and no public exploit code was identified in the available data, but the attack needs nothing beyond network reachability of the endpoint - no authentication, no user interaction, no non-default configuration - which makes any internet-facing instance a direct target.
Server-side template injection in Fortinet FortiAnalyzer 8.0.0, FortiAnalyzer Cloud 8.0.0, FortiManager 8.0.0 and FortiManager Cloud 8.0.0 lets an attacker who already holds an account on the appliance - described as a restricted-privilege account - send a specially crafted request that is insufficiently neutralized by the template engine and thereby execute unauthorized code or commands, with full confidentiality, integrity and availability impact to the affected device. Only version 8.0.0 is named as affected in the available data, and the vulnerable feature or endpoint is not identified in the sources. No public exploit code and no confirmed active exploitation were identified at time of analysis; the vuln.today decision label is 'this_week', consistent with a credible but non-emergency priority rather than an emergency response.
Server-side template injection in FortiManager's device-provisioning template engine (CWE-1336) allows an authenticated administrator holding only a limited Device Manager role to inject commands into a template that, when processed and pushed to managed FortiGates, execute with super admin privilege on those devices. Affected are FortiManager 8.0.0-8.0.1, 7.6.0-7.6.7, 7.4.0-7.4.11 and all 7.2.x releases, plus the matching FortiManager Cloud branches (8.0.0-8.0.1, 7.6.0-7.6.7, 7.4.1-7.4.11 and all 7.2.x), so exposure is limited to deployments that actively manage FortiGate devices and delegate restricted Device Manager accounts. The attack requires a valid low-privileged login and deployment/triggering of the crafted template (UI:R), making this a post-authentication escalation path rather than anonymous remote compromise; the CVSS temporal metrics indicate proof-of-concept-level exploit maturity (E:P), and no confirmed public exploit code or active exploitation (CISA KEV) is reported in the available sources, while the vendor rates the flaw 8.4 High and vuln.today places it in the this_week queue.
Stored server-side template injection in mailcow: dockerized releases before 2026-11 lets an authenticated domain administrator run arbitrary commands inside the shared rspamd container, which in turn allows reading, modifying, and injecting every hosted tenant's mail in transit and disabling spam/AV filtering platform-wide. A domain-wide footer is stored verbatim and later rendered by rspamd's MOO_FOOTER prefilter through the lupa-backed Jinja engine, where a macro default value is evaluated by a bare load() and reaches os.execute in rspamd's real LuaJIT globals. The vendor has released a fix in the 2026-11 release; a public proof-of-concept reference exists (advisory steps using a bounded sleep as a timing oracle) but is not verified as working exploit code, and active exploitation is not confirmed in the supplied data. The vuln.today decision label is act_now.
Remote code execution in Craft CMS 5.10.0 through 5.11.1 allows an authenticated non-administrator control panel user to escalate to OS command execution with the PHP worker's privileges. The app/render-elements endpoint HMAC-signs an attacker-supplied Twig object template when hyperlink=true, a non-modal context, and a templated returnUrl are supplied, and because the signature is not bound to its original purpose it can be replayed as the login redirect parameter, where renderObjectTemplate() evaluates it unsandboxed. Exploitation requires a valid low-privileged control panel account (CVSS PR:L) and no victim interaction; no public exploit identified at time of analysis.
Unauthenticated server-side template injection in LMFDB's knowledge-rendering endpoint (/knowledge/render/<ID>) lets any remote attacker execute operating-system commands as the account running the web application. The render_knowl function splices request-controlled data - every query-string key and value assembled into kw_params, plus the 'content' parameter - directly into Jinja template source and renders it with the default, unsandboxed jinja2.Environment, so injected Jinja expressions can traverse Python's object model to __builtins__ and invoke modules such as os. The vendor advisory documents a working proof of concept executed end-to-end against the live lmfdb.org site via a single HTTP GET, returning the output of an OS-level id command; active exploitation in the wild is not confirmed, but VulnCheck reporting, the act_now priority decision, and a 9.3 severity score all point to immediate patching.
Server-side template injection in Apache OFBiz (all versions prior to 24.09.08) causes attacker-influenced renderLink link parameters to be compiled as FreeMarker source and evaluated server-side, potentially allowing code execution in the application context. The assessed CVSS 3.1 vector is AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H (8.8 High), indicating network reachability with low privileges in that assessment, although the advisory entry itself does not state an authentication qualifier and the exact request path is not described. No CISA KEV listing, EPSS score, or public exploit reference was supplied, so no public exploit is identified at time of analysis and the vuln.today decision label is awaiting_data.
Server-side template injection in WebPros WHMCS (CWE-1336) lets an authenticated, low-privilege client account escalate to reading sensitive host configuration files - including database credentials - and to executing code on the server. The vendor rates it CVSS 9.0 (AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H): any self-registered customer login is enough on the attacker side, but successful exploitation also requires user interaction, most plausibly a staff member or administrator rendering attacker-controlled template content. No public exploit code and no confirmed active exploitation are reported in the available data; the priority label is act_now and a vendor security update dated 2026-11-23 addresses the issue, so WHMCS operators should treat patching as urgent.
Remote code execution in JetBrains TeamCity is reachable through server-side FreeMarker notification templates and affects versions before 2026.2.2 on the 2026.2.x branch and before 2026.1.6 on the 2026.1.x branch. The CVSS vector requires high privileges (PR:H), so exploitation depends on authenticated administrative access sufficient to create or edit notification templates, making this a privilege-to-code-execution path rather than an unauthenticated compromise. No public exploit or CISA KEV entry is identified in the supplied data, and priority guidance places remediation in this week's queue rather than emergency response.
Authenticated users of Atlassian Bamboo Data Center 12.0.0-12.0.2 and 12.1.0-12.1.12 can exploit a server-side template injection flaw to run arbitrary commands on the server, with high impact to confidentiality, integrity and availability. Exploitation requires a valid account and an additional attack requirement flagged as AT:P but not described in the available sources; SSVC records no known exploitation and the attack is not automatable, and no public exploit was identified at time of analysis. The priority is this_week - a genuine but non-emergency issue - and Atlassian has released a fix for the 12.1 branch in 12.1.13.
Unauthenticated remote code execution in Batflat CMS is reachable through the public /contact endpoint: message input submitted in a POST request is passed unsanitized to the template engine, so a crafted message is evaluated server-side and can execute arbitrary PHP code under the web server account (www-data). The CPE entry carries a wildcard version, meaning no fixed or unaffected release has been identified, and the project is described as no longer maintained with the issue unfixed, so every deployment of the CMS that exposes the contact form is in scope. The assessor's decision is act_now and no public exploit code was identified in the available data, but the attack needs nothing beyond network reachability of the endpoint - no authentication, no user interaction, no non-default configuration - which makes any internet-facing instance a direct target.
Server-side template injection in Fortinet FortiAnalyzer 8.0.0, FortiAnalyzer Cloud 8.0.0, FortiManager 8.0.0 and FortiManager Cloud 8.0.0 lets an attacker who already holds an account on the appliance - described as a restricted-privilege account - send a specially crafted request that is insufficiently neutralized by the template engine and thereby execute unauthorized code or commands, with full confidentiality, integrity and availability impact to the affected device. Only version 8.0.0 is named as affected in the available data, and the vulnerable feature or endpoint is not identified in the sources. No public exploit code and no confirmed active exploitation were identified at time of analysis; the vuln.today decision label is 'this_week', consistent with a credible but non-emergency priority rather than an emergency response.
Server-side template injection in FortiManager's device-provisioning template engine (CWE-1336) allows an authenticated administrator holding only a limited Device Manager role to inject commands into a template that, when processed and pushed to managed FortiGates, execute with super admin privilege on those devices. Affected are FortiManager 8.0.0-8.0.1, 7.6.0-7.6.7, 7.4.0-7.4.11 and all 7.2.x releases, plus the matching FortiManager Cloud branches (8.0.0-8.0.1, 7.6.0-7.6.7, 7.4.1-7.4.11 and all 7.2.x), so exposure is limited to deployments that actively manage FortiGate devices and delegate restricted Device Manager accounts. The attack requires a valid low-privileged login and deployment/triggering of the crafted template (UI:R), making this a post-authentication escalation path rather than anonymous remote compromise; the CVSS temporal metrics indicate proof-of-concept-level exploit maturity (E:P), and no confirmed public exploit code or active exploitation (CISA KEV) is reported in the available sources, while the vendor rates the flaw 8.4 High and vuln.today places it in the this_week queue.
Stored server-side template injection in mailcow: dockerized releases before 2026-11 lets an authenticated domain administrator run arbitrary commands inside the shared rspamd container, which in turn allows reading, modifying, and injecting every hosted tenant's mail in transit and disabling spam/AV filtering platform-wide. A domain-wide footer is stored verbatim and later rendered by rspamd's MOO_FOOTER prefilter through the lupa-backed Jinja engine, where a macro default value is evaluated by a bare load() and reaches os.execute in rspamd's real LuaJIT globals. The vendor has released a fix in the 2026-11 release; a public proof-of-concept reference exists (advisory steps using a bounded sleep as a timing oracle) but is not verified as working exploit code, and active exploitation is not confirmed in the supplied data. The vuln.today decision label is act_now.
Remote code execution in Craft CMS 5.10.0 through 5.11.1 allows an authenticated non-administrator control panel user to escalate to OS command execution with the PHP worker's privileges. The app/render-elements endpoint HMAC-signs an attacker-supplied Twig object template when hyperlink=true, a non-modal context, and a templated returnUrl are supplied, and because the signature is not bound to its original purpose it can be replayed as the login redirect parameter, where renderObjectTemplate() evaluates it unsandboxed. Exploitation requires a valid low-privileged control panel account (CVSS PR:L) and no victim interaction; no public exploit identified at time of analysis.
Unauthenticated server-side template injection in LMFDB's knowledge-rendering endpoint (/knowledge/render/<ID>) lets any remote attacker execute operating-system commands as the account running the web application. The render_knowl function splices request-controlled data - every query-string key and value assembled into kw_params, plus the 'content' parameter - directly into Jinja template source and renders it with the default, unsandboxed jinja2.Environment, so injected Jinja expressions can traverse Python's object model to __builtins__ and invoke modules such as os. The vendor advisory documents a working proof of concept executed end-to-end against the live lmfdb.org site via a single HTTP GET, returning the output of an OS-level id command; active exploitation in the wild is not confirmed, but VulnCheck reporting, the act_now priority decision, and a 9.3 severity score all point to immediate patching.
Server-side template injection in Apache OFBiz (all versions prior to 24.09.08) causes attacker-influenced renderLink link parameters to be compiled as FreeMarker source and evaluated server-side, potentially allowing code execution in the application context. The assessed CVSS 3.1 vector is AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H (8.8 High), indicating network reachability with low privileges in that assessment, although the advisory entry itself does not state an authentication qualifier and the exact request path is not described. No CISA KEV listing, EPSS score, or public exploit reference was supplied, so no public exploit is identified at time of analysis and the vuln.today decision label is awaiting_data.