From 24d7da2416b9ab246825c33c213fe939a89b369c Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Fri, 10 Mar 2023 15:12:22 +0100 Subject: luci-base: dispatcher.uc: prevent XSS through 404 error template Make sure to escape the user controlled URL passed as part of the error message into the error404 template in order to avoid XSS. Reported-by: 40826d <40826d@posteo.de> Signed-off-by: Jo-Philipp Wich --- modules/luci-base/ucode/template/header.ut | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/luci-base/ucode/template/header.ut') diff --git a/modules/luci-base/ucode/template/header.ut b/modules/luci-base/ucode/template/header.ut index e87560010f..7dc3742a9d 100644 --- a/modules/luci-base/ucode/template/header.ut +++ b/modules/luci-base/ucode/template/header.ut @@ -10,7 +10,7 @@ -- cgit v1.2.3