ADVISORIES

Drupal Security Advisory

DRUPAL-CONTRIB-2026-228

Details

The module provides integration with third party JS library SwiperJs.

User-entered text is used as part of the slide without appropriate filtering leading to a cross-site scripting (XSS) vulnerability.

This vulnerability is mitigated by the fact that an attacker would need a role with permission to edit the caption.

Affected packages

EcosystemPackageAffected versions
Packagist:https://packages.drupal.org/8drupal/swiper_formatter
All versions before 2.1.2 (fixed in 2.1.2)
From 3.0.1 before 3.1.0 (fixed in 3.1.0)

References