Skip to content
vetkitChecksChangelogDocumentation

vetkit.java.template-injection.template-source

Request data is used as template source code (server-side template injection).

Last updated:

Suite: Security

java

Request data is used as template source code (server-side template injection).

Category: SECURITY · Engine rule severity: ERROR

How to fix it

Load templates only from trusted locations and pass user input as template data (model values).

References

Source: packages/engine/rules/sast/java.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.