From ad614a2b937383dca99e0b87ebf3f5bdb437116d Mon Sep 17 00:00:00 2001 From: Mcat12 Date: Fri, 19 Jan 2018 16:57:47 -0500 Subject: [PATCH] Fix list_verify XSS Signed-off-by: Mcat12 --- scripts/pi-hole/php/auth.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/pi-hole/php/auth.php b/scripts/pi-hole/php/auth.php index f5032488..7bebba29 100644 --- a/scripts/pi-hole/php/auth.php +++ b/scripts/pi-hole/php/auth.php @@ -146,7 +146,7 @@ function list_verify($type) { require("password.php"); if($wrongpassword || !$auth) { - log_and_die("Wrong password - ".htmlspecialchars($type)."listing of ${_POST['domain']} not permitted"); + log_and_die("Wrong password - ".htmlspecialchars($type)."listing of ".htmlspecialchars($_POST['domain'])." not permitted"); } } else