Skip to content
vetkitChecksChangelogDocumentation

vetkit.py.xss.mark-safe

A non-literal value is marked as safe HTML, bypassing template auto-escaping (XSS).

Last updated:

Suite: Security

python

A non-literal value is marked as safe HTML, bypassing template auto-escaping (XSS).

Category: SECURITY · Engine rule severity: WARNING

How to fix it

Let the template engine escape the value, or use format_html with escaped arguments.

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.