Skip to content

armgit / Vvveb

Public Imported from GitHub
0

Powerful and easy to use cms to build websites, blogs or ecommerce stores.

Add sql to deny list GHSA-2mq4-4q7r-q52q

Givan146bf0260469
diff --git a/admin/controller/editor/code.php b/admin/controller/editor/code.php
index 3da6a25..0481d01 100755
--- a/admin/controller/editor/code.php
+++ b/admin/controller/editor/code.php
@@ -34,7 +34,7 @@ class Code extends Base {
/**
* @var array<int, string> File extensions denied for saving by non-admin roles.
*/
- protected array $saveDenyExtensions = ['php', 'tpl', 'svg', 'js', 'exe', 'html', 'phtml', 'htaccess', 'phar'];
+ protected array $saveDenyExtensions = ['php', 'tpl', 'sql', 'svg', 'js', 'exe', 'html', 'phtml', 'htaccess', 'phar'];
/**
* Returns the base directory path for a given type.