Skip to content

EspoCRM – Open Source CRM Application

sandbox=allow-scripts

Yuri Kuznetsov84774160639e
diff --git a/client/src/views/dashlets/iframe.js b/client/src/views/dashlets/iframe.js
index 93e547da8b..232321425a 100644
--- a/client/src/views/dashlets/iframe.js
+++ b/client/src/views/dashlets/iframe.js
@@ -32,7 +32,7 @@ class IframeDashletView extends BaseDashletView {
name = 'Iframe'
- templateContent = '<iframe style="margin: 0; border: 0;"></iframe>'
+ templateContent = '<iframe style="margin: 0; border: 0;" sandbox="allow-scripts"></iframe>'
afterRender() {
const $iframe = this.$el.find('iframe');