From 313159c74ab7755f4824e426ad9e5ab5cdbd1d40 Mon Sep 17 00:00:00 2001 From: Stefan Kalscheuer Date: Tue, 4 Feb 2025 17:58:19 +0100 Subject: [PATCH] fix: escape ticker ID in shortcode output (#28) Ticker ID is user input and may contain literally anything. While this is properly escaped in the internal query, we should also escape it in the generated HTML output. --- includes/class-scliveticker.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/includes/class-scliveticker.php b/includes/class-scliveticker.php index 89ab174..4405a2b 100644 --- a/includes/class-scliveticker.php +++ b/includes/class-scliveticker.php @@ -232,7 +232,7 @@ class SCLiveticker { $output = '
Feed'; }