Skip to content
vetkitChecksChangelogDocumentation

vetkit.go.xss.template-html

Request input is converted to template.HTML, bypassing html/template escaping (cross-site scripting).

Last updated:

Suite: Security

go

Request input is converted to template.HTML, bypassing html/template escaping (cross-site scripting).

Category: SECURITY · Engine rule severity: ERROR

How to fix it

Pass plain strings to the template and let html/template escape them.

References

Source: packages/engine/rules/sast/go.yml.

Generated from shipped rule definitions at build time. Matching is a review signal, not proof of exploitability. “generic” denotes text matching, not complete language or framework coverage. Runtime configuration and available tools affect whether a rule runs.