in reply to Template toolkit XSS
If there is no Get handler the user shouldn't be able to supply arbitrary input. But new exploits are invented all the time. You should escape all data coming into your app that you didn't supply, as standard policy. And yes, you should escape all variables you print out with TT using Template's filters.
You entered: [% sanitized_input | html_entity %]
TT still doesn't provide default filtering afaik, but HTML::Template does.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Template toolkit XSS
by Anonymous Monk on Aug 05, 2015 at 01:57 UTC |