An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.
PHP coolifydatabasesdeploymentdockerdocker-composeinertiajslaravelmariadbmysqlnextjsnodejsphppostgresredisself-hostedself-hostingserverstatic-sitesveltesvelte5
Fix for the XSS vulnerability
retrymp3e66e59048fa5
diff --git a/app/Livewire/Project/Shared/Tags.php b/app/Livewire/Project/Shared/Tags.phpindex dca6180ff6..811859cb88 100644--- a/app/Livewire/Project/Shared/Tags.php+++ b/app/Livewire/Project/Shared/Tags.php@@ -37,6 +37,7 @@ class Tags extends Component$this->validate();$tags = str($this->newTags)->trim()->explode(' ');foreach ($tags as $tag) {+ $tag = strip_tags($tag);if (strlen($tag) < 2) {$this->dispatch('error', 'Invalid tag.', "Tag <span class='dark:text-warning'>$tag</span> is invalid. Min length is 2.");@@ -65,6 +66,7 @@ class Tags extends Componentpublic function addTag(string $id, string $name){try {+ $name = strip_tags($name);if ($this->resource->tags()->where('id', $id)->exists()) {$this->dispatch('error', 'Duplicate tags.', "Tag <span class='dark:text-warning'>$name</span> already added.");