Exploiting: Server Side Template Injection
Server Side Template Injection: To present data dynamically from emails or webpages we use templates and unsafely use of it leads to server exploits like RCE and many more.
So when user controlled input is embedded directly into template, it may cause of SSTI. This may occurs as developer want to offer rich functionality.
Example: There is application that has functionality where users can send emails to their customer and the content of the email can be modified by the user. So if developer is using templates such as freemarker or…