From 0e79413a5bb3468cd2f5cb0594232a1557f792fc Mon Sep 17 00:00:00 2001 From: Tony Murray Date: Sun, 11 Apr 2021 08:08:41 -0500 Subject: [PATCH] escape user editable field (#12739) --- includes/html/pages/api-access.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/html/pages/api-access.inc.php b/includes/html/pages/api-access.inc.php index b3ebbd7483..5647f59992 100644 --- a/includes/html/pages/api-access.inc.php +++ b/includes/html/pages/api-access.inc.php @@ -151,7 +151,7 @@ if (Auth::user()->hasGlobalAdmin()) { ' . $user_details->auth_type . ' ' . $api->token_hash . ' - ' . $api->description . ' + ' . htmlspecialchars($api->description) . '