Skip to content
vetkitChecksChangelogDocumentation

vetkit.go.xss.reflected-response

Request input is written into an HTML response without escaping (reflected cross-site scripting).

Last updated:

Suite: Security

go

Request input is written into an HTML response without escaping (reflected cross-site scripting).

Category: SECURITY · Engine rule severity: ERROR

How to fix it

Render the page with html/template, or escape the value with html.EscapeString before writing it.

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.