Skip to content

Commit 9f49f2a

Browse files
committed
Security: Add Vue template compiler section + link
1 parent f0a83ed commit 9f49f2a

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

content/docs/1_guide/21_security/guide.txt

+10
Original file line numberDiff line numberDiff line change
@@ -193,6 +193,16 @@ Use very long passwords for the connection to your server and for your Panel log
193193

194194
The Panel also has a built-in **brute-force protection** for the Panel login. It will delay requests with invalid credentials and also block access to the Panel by IP address and by user after 10 login failures within an hour. You can change these defaults with the (link: docs/reference/system/options/auth text: auth options). Please note that Kirby can't protect your SFTP/SSH accounts, also brute-force attacks are only hindered and not prevented entirely. So it's always important to use strong passwords.
195195

196+
## Disable the Vue template compiler
197+
198+
We are in the active process of migrating the Kirby Panel to Vue 3 (with the plan to ship Vue 3 in Kirby 6.0). Until this process is complete, sites with increased security requirements should use the Vue 2 runtime version, which omits the vulnerable Vue template compiler.
199+
200+
In its default configuration, Kirby enables the template compiler, as it is needed for all Panel plugins that have not been precompiled. It is also used for the examples in the Panel lab environment.
201+
202+
<since v="4.7">
203+
Kirby 4.7 introduces a new `panel.vue.compiler` option that can be set to `false` to disable the template compiler and switch to the Vue 2 runtime version. We recommend to set this option to `false` if your site and the installed plugins do not rely on the Vue template compiler. Should you require the template compiler and are not affected by its [known vulnerabilities](https://www.herodevs.com/vulnerability-directory?framework=Vue+2), you can set the option to `true` to make the warning in the Panel go away. Do this at your own risk!
204+
</since>
205+
196206
## Secure data in Git repositories
197207

198208
### `.gitignore /site/accounts`
+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
Title: Vue template compiler
2+
3+
----
4+
5+
Link: docs/guide/security#disable-the-vue-template-compiler

0 commit comments

Comments
 (0)