90035Server Side Template Injection

PUBLISHEDsecurity alertHigh
Active

Metadata

Alert ID:
90035
Risk:
High
Type:
Active

摘要

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.

解决方案

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

参考