Skip to content

Commit 611bbe7

Browse files
authored
TinyMCE security fix (#4157)
* Rector: CQ - UnusedForeachValueToArrayKeysRector (#1) * Rector: CQ - UnusedForeachValueToArrayKeysRector See Rector\CodeQuality\Rector\Foreach_\UnusedForeachValueToArrayKeysRector * fixes + phpstan See fix at rector: rectorphp/rector-src#6164 * Security fix for TinyMCE - see GHSA-5359-pvf2-pw78 * Revert "Rector: CQ - UnusedForeachValueToArrayKeysRector (#1)" This reverts commit 3d7eaf6.
1 parent 9e0ca87 commit 611bbe7

File tree

1 file changed

+1
-0
lines changed
  • js/mage/adminhtml/wysiwyg/tinymce

1 file changed

+1
-0
lines changed

js/mage/adminhtml/wysiwyg/tinymce/setup.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@ tinyMceWysiwygSetup.prototype =
9090
automatic_uploads: false,
9191
branding: false,
9292
promotion: false,
93+
convert_unsafe_embeds: true, // default in TinyMCE v7.0
9394
convert_urls: false,
9495
relative_urls: true,
9596
skin: this.config.skin,

0 commit comments

Comments
 (0)