All rules →
Rules / PHP
SHIELD-PHP-007

File inclusion (LFI/RFI) via dynamic path

criticalPHPCWE-98CVSS 9.1

What it detects

include/require with a variable path enables local or remote file inclusion.

How to fix

Include only from a fixed whitelist of allowed files; never use raw user input in paths.

Scan your repo freeFull documentation
Back to all rules
SHIELD-PHP-007: File inclusion (LFI/RFI) via dynamic path — Zennoxa Shield