CWE-1336: Improper Neutralization of Special Elements Used in a Template Engine

239 CVEs have CWE-1336 as their primary weakness. 3 of them are in the CISA KEV catalog. The highest EPSS score among them is 99.539%.

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.

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.

Child of CWE-94: Improper Control of Generation of Code

Mitigations

Observed examples

Top released CVEs

KEV first, then the highest EPSS score, the highest CVSS score and the newest.

CVEPublishedSeverityCVSSEPSSDescription
CVE-2024-40402024-04-22CRITICAL9.899.539%A server side template injection vulnerability in CrushFTP in all versions before 10.7.1 and 11.1.0 on all platforms allows unauthenticated remote attackers to…
CVE-2024-236922024-05-31CRITICAL9.899.485%Rejetto HTTP File Server, up to and including version 2.3m, is vulnerable to a template injection vulnerability. This vulnerability allows a remote…
CVE-2026-756502026-09-07CRITICAL10.099.376%Adobe Commerce is affected by an Improper Neutralization of Special Elements Used in a Template Engine vulnerability that could result in arbitrary code…
CVE-2026-1115592026-11-16CRITICAL9.30.939%Batflat CMS does not sanitize data passed to the /contact endpoint. A remote unauthenticated attacker can send a POST request with a crafted message, causing…
CVE-2026-215962026-11-17HIGH7.7not scoredThis High severity SSTI (Server-side Template Injection) vulnerability known as CVE-2026-21596 was introduced in version 12.0.0, 12.1.0. This SSTI (Server-side…

Get more CVE data from the API.

Free without a key or signup. Pro adds monitoring and higher limits: pricing.

Sources