vetkit.js.xss.response-html-request
Request input is concatenated into an HTML response body without escaping (reflected cross-site scripting).
Last updated:
Suite: Security
javascript, typescript
Request input is concatenated into an HTML response body without escaping (reflected cross-site scripting).
Category: SECURITY · Engine rule severity: ERROR
How to fix it
Render HTML through an auto-escaping template engine, or HTML-escape the value (e.g. the escape-html package) before inserting it; respond with JSON for API endpoints.
References
Source: packages/engine/rules/sast/javascript.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.