All rules →
Rules / PHP
SHIELD-PHP-009

Unsafe deserialization of user input

criticalPHPCWE-502CVSS 9.8

What it detects

unserialize is called on request data allowing object injection and remote code execution.

How to fix

Use json_decode for untrusted data or pass allowed_classes=>false to unserialize.

Scan your repo freeFull documentation
Back to all rules
SHIELD-PHP-009: Unsafe deserialization of user input — Zennoxa Shield