From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail02.haj.ipfire.org (localhost [IPv6:::1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4cXWKx0jGRz377X for ; Thu, 25 Sep 2025 11:13:25 +0000 (UTC) Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (Client CN "mail01.haj.ipfire.org", Issuer "R13" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4cXWKq4s9bz332y for ; Thu, 25 Sep 2025 11:13:19 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail01.ipfire.org (Postfix) with ESMTPSA id 4cXWKp3N61z43s; Thu, 25 Sep 2025 11:13:18 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1758798798; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=kaT/FeMSSqQPVCcXHjLso4C+dZpjZ2tcoE+5tPZeiTc=; b=DK606BRgOwXh3mIhvR0MSvFK421FQi77K+vT3GhZRwROZSqd6MGVLYAnv5462LvyoK///D KpCPIpXMhEE0OpDQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1758798798; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=kaT/FeMSSqQPVCcXHjLso4C+dZpjZ2tcoE+5tPZeiTc=; b=wjfR+qQn2Zq+wqBgoS68csGCeowX7hgfXwfLCxGLW3dUnr0SHxzdiWkMIiQ9+8yp86hBnv X9nEeJTBS5KB7e2spn3DGoXRpPsAtcJvXeKbISzk70I7CCnBHf2wDft4yUW66OGlgra5q5 8qaenCp8hCFuewXAXtQfzIZjXsZe8C4DFYZg/sqJepBFGF3KcLAk/pVFCji/ocs9e23I/c C/Z7Wo3hu/M+K4W54XllYfbkEJc1qrqtCB7Q/p7w26bQq0ofNWkbDmr9GRcWwsgr3WQqic cwal43KPCYavKp6JGvbt3muxY7baatlBKcZhRYMNwH6ZdRVqy3zkA3SeknJ1ww== From: Adolf Belka To: development@lists.ipfire.org Cc: Adolf Belka Subject: [PATCH 15/16] proxy.cgi: Fixes bug 13893 Date: Thu, 25 Sep 2025 13:12:51 +0200 Message-ID: <20250925111252.11893-15-adolf.belka@ipfire.org> In-Reply-To: <20250925111252.11893-1-adolf.belka@ipfire.org> References: <20250925111252.11893-1-adolf.belka@ipfire.org> Precedence: list List-Id: List-Subscribe: , List-Unsubscribe: , List-Post: List-Help: Sender: Mail-Followup-To: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Fixes: bug 13893 - proxy.cgi Multiple Parameters Stored Cross-Site Scripting Signed-off-by: Adolf Belka --- html/cgi-bin/proxy.cgi | 1 + 1 file changed, 1 insertion(+) diff --git a/html/cgi-bin/proxy.cgi b/html/cgi-bin/proxy.cgi index bdce2fa66..1ade39381 100644 --- a/html/cgi-bin/proxy.cgi +++ b/html/cgi-bin/proxy.cgi @@ -3973,6 +3973,7 @@ END { print FILE " $mainsettings{'HOSTNAME'}.$mainsettings{'DOMAINNAME'}\n\n"; } else { + $proxysettings{'VISIBLE_HOSTNAME'} = &Header::escape($proxysettings{'VISIBLE_HOSTNAME'}); print FILE " $proxysettings{'VISIBLE_HOSTNAME'}\n\n"; } -- 2.51.0