This update fixes a number of issues reported since the last release and makes some changes to the way event attributes - eg: onclick, onload etc. - are handled. In addition, an important security update is included to prevent potential cross-site scripting attacks.
Event Attribute Changes
The Rollover effect provided by the Image Manager uses event attributes, and so the Allow Event Attributes will now need to be enabled to use this feature. Existing rollover effects will be protected if the option is not enabled.
A Security Update
An article was recently published which demonstrated that many popular WYSIWYG editors were and are vulnerable to a cross-site scripting attack when pasting content copied from a malicious site, by taking advantage of event attributes in the copied HTML. As JCE uses a version of the Tinymce editor mentioned in the article, it too was vulnerable to this potential exploit. This update fixes the issue by removing all event attributes from pasted content copied from external sources, unless explicitely allowed in the Clipboard parameters.
In addition to this, better processing of HTML comments and media elements, and a fix in the Visual Characters feature , remove other potential instances where similar exploits could be executed by a user.
It should be noted that these issues require the editor to be active, either by a malicious user creating or editing content, or by a user inadvertantly pasting in content from a malicious website. Nevertheless, all users are advised to update to JCE 2.8.15 as soon as possible.
This update fixes a number of issues reported since the last update, and adds a few new features. In addition, various updates have been made to improve support for Joomla 4 Beta.
A new Basic Dialog option has been added for the Link, Image Manager and Media Manager buttons, which replaces the standard dialog window with a stripped down version, containing only a URL field, as well as a Text field for the Link version, and a Description field (for the alt attribute) for the Image Manager. This option is disabled by default. A further related option enables a File Browser in the URL field for the Image Manager and Media Manager.
The Media dialog supports all common native video and audio types (mp4, m4v, ogg, ogv, webm, mp3) and common media providers, eg: Youtube, Vimeo, Dailymotion, Scribd, Slideshare, Soundcloud, Spotify, TED, Twitch, Facebook and Instagram.
Template List Thumbnails
When createing Template List items in the Template Manager parameters, you can now set a thumbnail image to use for the Template List dropdown, to give an indication of what HTML content will be inserted by the item. Alternatively, any image with the same name and in the same folder as the template item html file, will be used instead.
This update fixes a number of issues reported since the last update, and includes a few small additions and changes.
Drag & drop embed of files
Support for drag & drop upload and insert of various file types - pdf, docx, etc. - has been improved to allow these files to be embedded into content, in a similar way as can be acheived using the File Manager dialog.
To do this, the new Format option in the File Manager parameters must be set to Iframe, and an Embed Width and Embed Height value should be set. To embed Office type files - doc, docx, xls, xlsx etc. - the Open Width option should also be set, as these file types will require an external service to process and display them.
Then, just drag and drop the file into the editor to upload and embed it.