This document discusses server-side template injection (SSTI) vulnerabilities that can allow remote code execution on modern web applications. It begins with an introduction to templating engines and SSTI vulnerabilities. It then covers detecting, identifying, and exploiting SSTI vulnerabilities, providing examples using the Python Flask framework. It concludes with recommendations for preventing SSTI, such as not allowing user-modified templates and executing user code in a restricted sandbox.