I want to make the marko template editable by clients.
I know that user can add scripts, and XSS issue. The question is about server side
.
If I run marko template from nodejs, and the template came from one user. Is it possible that the template will eval malicious code on the server?
In other words: How can I prevet the user from doing something like that:
<if test="require('readFileSync').deleteAllMyFile...">
Hi
</if>