All rules →
Rules / PHP
SHIELD-PHP-008

Reflected XSS via echo of request data

highPHPCWE-79CVSS 7.4

What it detects

Request superglobal is echoed or printed without output encoding, enabling cross-site scripting.

How to fix

Encode output with htmlspecialchars() using ENT_QUOTES before echoing user input.

Scan your repo freeFull documentation
Back to all rules
SHIELD-PHP-008: Reflected XSS via echo of request data — Zennoxa Shield