After applying Sr-Denied Guestbook V2.1.7, the following tests were performed:
http://target.com/admin/delete_entry.php?id=1 OR 1=1 would delete all entries. The patch introduces multiple security layers. 4.1 Input Sanitization (XSS Fix) File: post_entry.php & view_guestbook.php Sr - Denied Guestbook V2.1.7 Fix
session_start(); if ($_POST['csrf_token'] !== $_SESSION['csrf_token']) die("CSRF validation failed."); After applying Sr-Denied Guestbook V2