Now Hacked
EN

Daily security quiz #11

Question for 2026-11-11. Read the code and pick the most serious security vulnerability.

MediumPHP2026-11-11

This code loads the corresponding page when a request such as ?page=about is made. What is the most serious vulnerability?

<?php
$page = $_GET['page'] ?? 'home';
include __DIR__ . '/pages/' . $page . '.php';

Past questions