Swiper formatter: The module provides integration with third party JS library SwiperJs. (CVE-2026-114531)
Description
The Drupal swiper_formatter module integrates the SwiperJs library and suffers from a cross-site scripting (XSS) vulnerability due to insufficient filtering of user-entered text used in slide captions. Exploitation requires the attacker to have a role with permission to edit captions, limiting the attack surface. Patches are available for affected versions.
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The swiper_formatter module for Drupal, which integrates the third-party JavaScript library SwiperJs, contains a cross-site scripting (XSS) vulnerability. This occurs because user-entered text is incorporated into slide captions without proper filtering, allowing injection of malicious scripts. However, exploitation is mitigated by the requirement that an attacker must have permissions to edit captions, restricting the vulnerability to privileged users. The affected versions are those prior to 2.1.2 and versions from 3.0.1 up to but not including 3.1.0. A patch is available to address this issue.
Potential Impact
Successful exploitation could allow an attacker with caption editing permissions to execute arbitrary scripts in the context of the affected site, potentially leading to session hijacking or other client-side attacks. Since the vulnerability requires elevated permissions, the risk is limited to users with editing capabilities rather than anonymous or low-privileged users.
Mitigation Recommendations
A patch is available for this vulnerability and should be applied to affected versions. Until patched, restrict caption editing permissions to trusted users only to mitigate exploitation risk.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- DRUPAL-CONTRIB-2026-228
- Osv Schema Version
- 1.7.0
- Aliases
- ["CVE-2026-114531"]
- Ecosystems
- ["Packagist:https://packages.drupal.org/8"]
Threat ID: 6ad91ca74d27ba8daafa9189
Added to database: 10/21/2026, 20:12:23 UTC
Last enriched: 10/21/2026, 20:13:24 UTC
Last updated: 10/21/2026, 20:13:24 UTC
Views: 2
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.