CWE•Base•Incomplete•20 recent CVEs
CWE-1336Improper Neutralization of Special Elements Used in a Template Engine
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.
[object Object]
Common consequences
- Integrity→Execute Unauthorized Code or Commands
Potential mitigations
- Architecture and DesignChoose a template engine that offers a sandbox or restricted mode, or at least limits the power of any available expressions, function calls, or commands.
- ImplementationUse the template engine's sandbox or restricted mode, if available.
Related CWEs
Recent CVEs classified under this CWE
CVE-2026-819102026-09-11CVE-2026-91604.32026-09-11CVE-2026-890949.92026-09-10CVE-2026-195847.72026-09-10CVE-2026-870217.22026-09-09CVE-2026-333874.62026-09-08CVE-2026-7565010.02026-09-07CVE-2026-527622026-09-05CVE-2026-466362026-09-04CVE-2026-856547.82026-09-04CVE-2026-132977.52026-09-04CVE-2026-750362026-09-03CVE-2026-829582026-09-02CVE-2026-128948.82026-08-31CVE-2026-824478.82026-08-29CVE-2026-779396.52026-08-28CVE-2026-555599.82026-08-28CVE-2026-547187.22026-08-27CVE-2026-477272026-08-27CVE-2026-370049.82026-08-27