Cross Site Scripting XSS #272
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Cross Site Scripting Prevention
and Cross-site leaks Cheat Sheet
Cross Site Scripting is, when an attacker injects malicious code into your web application. E.g. on forum, an attacker is placing an script which is executed on every user who visits the site.
Therefore multiple steps should be taken. A layered approach is way better than relying on only one.
As every output is encoded/sanitized from templ, as long as no malicious functions are used, I'm good to go. Especially because almost everything runs server side.