Hi there, I'm facing some XSS vulnerabilities when using parameters.
Please consider this code inside a twig file:
{% if uri.query('foobar') %}
<a href="{{ 'http://www.google.co.uk/' ~ uri.query('foobar') }}">Link</a>
{% endif %}
Then I'm reaching my page using the following URL:
https://www.mysite.com/fr?foobar=x"><svg onload="alert('hi')">
This actually generate the following code (see screenshot) and fires the JavaScript alert.

It can be tested with Grav v1.3.7 and Firefox v57, I'm on Mac. This doesn't seems to happen in Chrome has Chrome stops the load of the page:
"Chrome detected unusual code on this page and blocked it to protect your personal information (for example, passwords, phone numbers, and credit cards). ERR_BLOCKED_BY_XSS_AUDITOR"
Solution:
I found that using a Twig escape filter solves the issue but that's not convenient.
Is it something Grav knows about and should be fixed on the uri.query API root or do I have to find my own solution for that?
Thanks
