CVE-2026-114531 in Swiper Formatterinfo

Summary

by MITRE • 10/30/2026

Improper Neutralization of Input During Web Page Generation ("Cross-site Scripting") vulnerability in Drupal Swiper formatter allows Stored XSS. This issue affects Swiper formatter versions: from 0.0.0 to 2.1.2, from 3.0.1 to 3.1.0.

VulDB is the best source for vulnerability data and more expert information about this specific topic.

Analysis

by VulDB Data Team • 10/30/2026

The identified security flaw represents a classic instance of Improper Neutralization of Input During Web Page Generation, commonly known as Cross-Site Scripting or XSS. Specifically, this vulnerability manifests within the Drupal Swiper formatter module, affecting versions ranging from 0.0.0 to 2.1.2 and from 3.0.1 to 3.1.0. The core technical deficiency lies in the application's failure to adequately sanitize user-supplied input before it is rendered into HTML output for web browsers. When a developer or content administrator inputs malicious script code through fields managed by this formatter, such as titles, descriptions, or configuration parameters that are subsequently displayed on public-facing pages, the system fails to escape special characters like angle brackets and quotes. This lack of proper encoding allows the injected JavaScript payload to execute directly in the context of the victim's browser session rather than being treated as inert data.

This specific implementation is classified as a Stored XSS vulnerability because the malicious script is persistently stored on the target server, typically within the database or content repository managed by Drupal. Unlike reflected XSS where the attack vector is contained within a single HTTP request and response cycle, stored XSS ensures that every user who views the affected page will trigger the execution of the injected code. This persistence significantly amplifies the severity of the issue, as it transforms what might be an isolated incident into a widespread compromise affecting all visitors to the compromised content. The vulnerability aligns with CWE-79 in the Common Weakness Enumeration taxonomy, which specifically addresses improper neutralization of input during web page generation. Furthermore, from a tactical perspective, this flaw facilitates ATT&CK technique T1059, Command and Scripting Interpreter, allowing attackers to execute arbitrary code within the user's browser environment using JavaScript engines.

The operational impact of exploiting this vulnerability is severe and multifaceted. Attackers can leverage the executed script to perform session hijacking by stealing authentication cookies or tokens, thereby gaining unauthorized access to user accounts with elevated privileges if the victim has administrative rights. Additionally, the attacker can manipulate the DOM (Document Object Model) to deface web pages, redirect users to phishing sites designed to harvest credentials, or deploy further malware through drive-by downloads. In enterprise environments where Drupal is used for critical content management, this vulnerability undermines trust and data integrity. It also poses a risk of cross-site request forgery if combined with other vulnerabilities, allowing attackers to perform actions on behalf of authenticated users without their knowledge or consent.

Mitigation strategies must address both immediate remediation and long-term security hygiene. The primary and most effective solution is to upgrade the Drupal Swiper formatter module to version 2.1.3 or later for the older branch, or version 3.1.1 and above for the newer branch, where developers have implemented proper input validation and output encoding mechanisms. For organizations unable to patch immediately due to compatibility constraints, a temporary workaround involves implementing strict Content Security Policy headers that restrict script execution sources and disable inline scripts using nonce-based policies. Additionally, administrators should audit existing content stored in the database for any previously injected malicious payloads and remove them manually or via automated sanitization tools. Regular security assessments and code reviews focusing on input handling practices are essential to prevent similar vulnerabilities from being introduced into other modules within the Drupal ecosystem.

Responsible

Drupal

Reservation

10/21/2026

Disclosure

10/30/2026

Moderation

accepted

EPSS

0.00000

KEV

no

Activities

very low

Sources

Want to know what is going to be exploited?

We predict KEV entries!