# DRUPAL-CONTRIB-2026-228: The module provides integration with third party JS library SwiperJs

- Database: Drupal
- Published: 2026-10-21
- Modified: 2026-10-21

## Tracked as

- [CVE-2026-114531](https://cve.now/CVE-2026-114531.md): Drupal Swiper Formatter stored XSS in carousel field display

## Affected versions

- drupal/swiper\_formatter (Packagist): fixed in 2.1.2; from 3.0.1, fixed in 3.1.0

## Description

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.

## References

- https://www.drupal.org/sa-contrib-2026-228

Page: https://cve.now/DRUPAL-CONTRIB-2026-228

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
