vetkit.kotlin.xss.ktor-html-response
Request data is sent back as an HTML response without encoding (cross-site scripting).
Last updated:
Suite: Security
kotlin
Request data is sent back as an HTML response without encoding (cross-site scripting).
Category: SECURITY · Engine rule severity: ERROR
How to fix it
Build HTML with kotlinx.html (which escapes text) or a template engine with auto-escaping, or encode the value for HTML before interpolating it.
References
Source: packages/engine/rules/sast/kotlin.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.