diff --git a/src/classes/wishthis/Wish.php b/src/classes/wishthis/Wish.php index 2fad3434..86c44dc9 100644 --- a/src/classes/wishthis/Wish.php +++ b/src/classes/wishthis/Wish.php @@ -208,7 +208,7 @@ class Wish $this->title = stripslashes($wishData['title'] ?? ''); $this->description = stripslashes($wishData['description'] ?? ''); $this->image = $wishData['image'] ?? ''; - $this->url = $wishData['url'] ?? ''; + $this->url = htmlspecialchars($wishData['url'] ?? '', ENT_QUOTES); $this->priority = $wishData['priority']; $this->status = $wishData['status']; $this->is_purchasable = $wishData['is_purchasable'];