Swiper formatter
2 security fixes in one update. Swiper formatter fixed 2 separate security bugs at once: 1 information disclosure, 1 cross site scripting. One update covers all of them. The most serious, SA-CONTRIB-2026-233, is explained here and the full list is at the end of the card.
The page does not sufficiently verify the current user's access to the specific piece of content. Anyone with no login could view restricted content displayed in the dialog. They could not alter any content.
- Who could do thisAnyone visiting the site. No login needed.
- Does it apply to youAny site using this module.
- 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 Swiper formatter to 3.1.0 or 2.1.2, whichever branch you are on.
For developers: what the fix changed
Adds entity and field view access checks to the `dialog` method in `src/Controller/Dialog.php` to ensure the current user has permission to view the requested content.
Also in this release Added a CKEditor 5 submodule, updated the Swiper JS build process, added caption settings, and made various code cleanups.
.cspell-project-words.txt+3 −0.eslintignore+3 −1.gitignore+5 −2.gitlab-ci.yml+5 −7README.md+4 −2composer.json+6 −1config/schema/swiper_formatter.schema.yml+71 −0css/swiper_formatter.caption.css+209 −0css/swiper_formatter.css+55 −23js/build/swiper.bundle.min.css+1 −0js/build/swiper.bundle.min.js+0 −0js/eslint.config.js+1 −4
- Moderately critical · Information disclosure · SA-CONTRIB-2026-233
- Moderately critical · Cross site scripting · SA-CONTRIB-2026-228