Expected Findings
- User templates are evaluated, not escaped.
- Template scope exposes `env`, allowing direct secret access.
- `config.constructor` style payloads return prototype information.
The newsletter previewer renders user-supplied templates with a server-side template engine, evaluating expressions and exposing internal globals.
engine.compile(req.query.template)({env, config})