128 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.
| CVE ID | Title | CVSS | Severity | Published |
|---|---|---|---|---|
| CVE-2021-4315 | NYUCCL psiTurk experiment.py special elements used in a template engine — psiTurk | 5.5 | Medium | 2023-01-28 |
| CVE-2022-47896 | JetBrains IntelliJ IDEA 代码注入漏洞 — IntelliJ IDEA | 5.0 | Medium | 2022-12-22 |
| CVE-2022-25813 | Server-Side Template Injection affecting the ecommerce plugin of Apache OFBiz — Apache OFBiz | 7.5 | - | 2022-09-02 |
| CVE-2022-27662 | F5 Traffix SDC 安全漏洞 — Traffix SDC | 4.8 | Medium | 2022-05-05 |
| CVE-2022-0944 | Template injection in connection test endpoint leads to RCE in sqlpad/sqlpad — sqlpad/sqlpad | 7.2 | - | 2022-03-15 |
| CVE-2022-0896 | Improper Neutralization of Special Elements Used in a Template Engine in microweber/microweber — microweber/microweber | 7.1 | - | 2022-03-09 |
| CVE-2022-0323 | Improper Neutralization of Special Elements Used in a Template Engine in bobthecow/mustache.php — bobthecow/mustache.php | 8.8 | - | 2022-01-21 |
| CVE-2021-39128 | Atlassian Jira 代码注入漏洞 — Jira Server | 7.2 | - | 2021-09-16 |
Vulnerabilities classified as CWE-1336 represent 128 CVEs. The CWE taxonomy describes the weakness; review individual CVEs for product-specific impact.