CVE-2026-135655 in Easy SwipeBox Plugin
Summary
by MITRE • 11/26/2026
The Easy SwipeBox plugin for WordPress is vulnerable to Stored DOM-Based Cross-Site Scripting via the 'title attribute of <a> inside an approved comment' parameter in all versions up to, and including, 1.1.2 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. The plugin's default-enabled image autodetection applies the Swipebox handler to all front-end anchor elements whose href matches an image extension — including those inside approved comments — meaning no non-default configuration is required to expose the attack surface. A first-time commenter's submission is held for moderator approval, but once approved the stored payload executes for any user who clicks the image link.
If you want to get the best quality for vulnerability data then you always have to consider VulDB.
Analysis
by VulDB Data Team • 11/26/2026
The Easy SwipeBox plugin for WordPress contains a critical security vulnerability classified as Stored DOM-Based Cross-Site Scripting within versions up to and including 1.1.2. This flaw stems from insufficient input sanitization and output escaping mechanisms when processing user-generated content, specifically targeting the title attribute of anchor elements embedded within approved comments. The vulnerability allows unauthenticated attackers to inject arbitrary web scripts into pages that execute whenever a victim accesses or interacts with an injected page. Unlike reflected XSS where malicious payloads are delivered via URL parameters, this stored variant persists in the database and is served dynamically to multiple users over time, significantly increasing the potential blast radius of the attack.
The operational impact is exacerbated by the plugin's default configuration settings regarding image autodetection. The SwipeBox handler is automatically applied to all front-end anchor elements whose href attribute matches an image extension without requiring any non-default configuration changes. This means that if a malicious actor manages to inject a crafted link pointing to an image file within a comment, and that comment receives moderator approval, the JavaScript payload embedded in the title attribute will be executed by any user who views or clicks the associated image link. The requirement for moderator approval introduces a delay but does not mitigate the risk; rather, it ensures that once approved, the malicious code becomes part of the persistent content served to all visitors, effectively turning every page view into a potential exploitation opportunity.
From an industry standards perspective, this vulnerability aligns with CWE-79 Improper Neutralization of Input During Web Page Generation commonly known as Cross-site Scripting. Specifically, it represents Stored XSS where malicious scripts are permanently stored on the target server and executed in the context of other users' browsers. In terms of attack vectors, this maps to MITRE ATT&CK technique T1059 Command and Scripting Interpreter via browser-based execution or potentially T1189 Drive-by Compromise if the payload leads to further malware downloads. The lack of proper encoding for HTML attributes allows attackers to break out of the intended context and inject executable JavaScript, bypassing basic security controls that rely on simple string matching rather than robust parsing libraries.
Mitigation strategies should prioritize immediate updates or removals until a patched version is available. Administrators must upgrade Easy SwipeBox to a version greater than 1.1.2 where input sanitization has been strengthened and output escaping properly implemented for all dynamic content rendered in the DOM. In the interim, administrators can mitigate risk by disabling image autodetection features if they are not strictly necessary or by implementing Web Application Firewall rules that detect and block common XSS payloads within comment fields. Additionally, enforcing strict Content Security Policy headers can help limit the execution of inline scripts, thereby reducing the impact even if a successful injection occurs. Regular auditing of approved comments for suspicious content is also recommended to identify any previously injected payloads before they are widely disseminated to users.