Skip to content
vetkitChecksChangelogDocumentation

vetkit.py.ssti.request-template

Request input is compiled as template source (render_template_string / Template). Template injection lets attackers run code on the server.

Last updated:

Suite: Security

python

Request input is compiled as template source (render_template_string / Template). Template injection lets attackers run code on the server.

Category: SECURITY · Engine rule severity: ERROR

How to fix it

Keep template source static (render_template with a file) and pass user values only as context variables.

References

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