Skip to content
vetkitChecksChangelogDocumentation

vetkit.php.xss.echo-request

Request input is echoed without HTML escaping (reflected XSS).

Last updated:

Suite: Security

php

Request input is echoed without HTML escaping (reflected XSS).

Category: SECURITY · Engine rule severity: WARNING

How to fix it

Escape output with htmlspecialchars($value, ENT_QUOTES, 'UTF-8').

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.