logo

Server Side Template Injection

  • Risk:
  • High

  • Type:
  • Active
Summary

When the user input is inserted in the template instead of being used as argument in rendering is evaluated by the template engine. Depending on the template engine it can lead to remote code execution.

Solution

Instead of inserting the user input in the template, use it as rendering argument.

References

https://portswigger.net/blog/server-side-template-injection

Free security scan for your website