Skip to content
vetkitChecksChangelogDocumentation

vetkit.php.xss.blade-unescaped-request

A Blade template prints request input with the unescaped {!! !!} syntax (reflected XSS). Blade only escapes output written with {{ }}.

Last updated:

Suite: Security

regex

A Blade template prints request input with the unescaped {!! !!} syntax (reflected XSS). Blade only escapes output written with {{ }}.

Category: SECURITY · Engine rule severity: WARNING

How to fix it

Print request values with {{ }} (escaped); reserve {!! !!} for HTML you produced and sanitized yourself.

References

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