Drupal security updates, in plain English · Module

Swiper formatter

2,386 sites report using it · on drupal.org · 1 security update explained here

This module provides a page for displaying published pieces of content in a dialog.

Below is every security update for Swiper formatter that this site has covered, newest first. Each one says who could exploit it, whether it applies to your site, how urgent it is, and what to tell your developer. If your site uses this module and you are not sure which version, that is the first question to ask whoever looks after it.

Swiper formatter

Moderately critical · 2,386 sites report using it · 2 security fixes · Week of 21 October 2026

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

This release carries 2 security fixes. The summary below is for SA-CONTRIB-2026-233, the most serious of them.

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.

3.0.1 to 3.1.0 67 commits, 99 files including 36 tests.

  • .cspell-project-words.txt +3 −0
  • .eslintignore +3 −1
  • .gitignore +5 −2
  • .gitlab-ci.yml +5 −7
  • README.md +4 −2
  • composer.json +6 −1
  • config/schema/swiper_formatter.schema.yml +71 −0
  • css/swiper_formatter.caption.css +209 −0
  • css/swiper_formatter.css +55 −23
  • js/build/swiper.bundle.min.css +1 −0
  • js/build/swiper.bundle.min.js +0 −0
  • js/eslint.config.js +1 −4

Full diff, 3.0.1 to 3.1.0 · Full diff, 2.1.1 to 2.1.2

The comparison is against the release immediately before the fix. If your site is on an older release, more will have changed.

All 2 security bugs this update fixes, worst first. Each link is the drupal.org notice for that one.

Not sure what your site is running?

Send me your Drupal site's address.

I'll tell you what I can see from outside, what the Drupal 10 end of life on 9 December means for it, and what it would cost to have me keep it patched. There's no charge for that and no obligation. peter@peterbrady.co.uk


Get in touch

Tell me who you are, what your organisation does, and what you need. That might be a Drupal site that needs looking after, an upgrade to get done before December, or an agency that needs Drupal cover.

If I can help, I'll say so and suggest a call. If I can't, I'll tell you straight away rather than waste your time.

peter@peterbrady.co.uk

For context: I work mainly with UK membership bodies, charities and research organisations, and with the agencies that look after their websites. Not recruiters.

Or start smaller and connect with me on LinkedIn. That's where I post what I find digging around in charity and grants data, and where the free tools turn up first.