CKEditor 5 Premium Features
2 security fixes in one update. CKEditor 5 Premium Features fixed 2 separate security bugs at once: 2 cross site request forgery. One update covers all of them. The most serious, SA-CONTRIB-2026-353, is explained here and the full list is at the end of the card.
A person could trick someone with the right to create media into making harmful files without their knowledge. The attacker could then view or alter some data on the site.
- Who could do thisAnyone visiting the site. No login needed.
- Does it apply to youA site is affected if the tool to bring in documents is turned on and set to upload images as media for at least one text format.
- Has it been used in attacksNo sign of it.
- How urgentDrupal rates this moderately critical. Include it in your next routine update, within the month.
Tell your developerUpdate CKEditor 5 Premium Features to 1.8.8.
For developers: what the fix changed
The fix adds `_csrf_token: 'TRUE'` to the dependency installation and media upload routes in `ckeditor5_premium_features.routing.yml` and `ckeditor5_premium_features_import_word.routing.yml`. It also updates the corresponding JavaScript and PHP classes to generate and pass the CSRF tokens, and hardens the endpoints by validating uploaded files and allowed packages.
Also in this release Updated library versions in the `.libraries.yml` files.
ckeditor5_premium_features.libraries.yml+1 −1ckeditor5_premium_features.routing.yml+2 −0 fixjs/dependency_install.js+12 −6 fixmodules/ckeditor5_premium_features_import_word/ckeditor5_premium_features_import_word.libraries.yml+1 −1modules/ckeditor5_premium_features_import_word/ckeditor5_premium_features_import_word.routing.yml+2 −0 fixmodules/ckeditor5_premium_features_import_word/ckeditor5_premium_features_import_word.services.yml+1 −0 fixmodules/ckeditor5_premium_features_import_word/js/build/importWordAdapter.js+1 −1 fixmodules/ckeditor5_premium_features_import_word/js/ckeditor5_plugins/importWordAdapter/src/importWordAdapter.js+8 −3 fixmodules/ckeditor5_premium_features_import_word/src/Controller/CKEditor5ImportWordMediaUploaderController.php+2 −2 fixmodules/ckeditor5_premium_features_import_word/src/Plugin/CKEditor5Plugin/ImportWord.php+31 −0 fixmodules/ckeditor5_premium_features_import_word/src/Utility/ImportWordMediaUploader.php+102 −55 fixsrc/Controller/InstallerController.php+28 −2 fix
- Moderately critical · Cross site request forgery · SA-CONTRIB-2026-353
- Moderately critical · Cross site request forgery · SA-CONTRIB-2026-352