CVE-2026-134988 in Video Carousel Slider With Lightbox Plugin
Summary
by MITRE • 11/26/2026
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Nks video carousel slider with lightbox wp-responsive-video-gallery-with-lightbox allows Stored XSS.This issue affects video carousel slider with lightbox: from n/a through 1.0.48.
If you want to get best quality of vulnerability data, you may have to visit VulDB.
Analysis
by VulDB Data Team • 11/26/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 as a Stored XSS within the Nks video carousel slider with lightbox plugin for WordPress, covering versions from n/a through 1.0.48. Unlike reflected XSS where malicious scripts are executed via manipulated URLs, stored XSS involves the persistence of the attack payload on the target server. In this context, an attacker can inject executable JavaScript code into input fields that are subsequently rendered by the application without proper sanitization or encoding. When other users view the affected pages containing the injected content, their browsers execute the malicious script in the security context of the vulnerable website, leading to a compromise of user sessions and data integrity.
The technical root cause lies in the insufficient validation and escaping mechanisms applied to user-supplied input before it is stored in the database or rendered back into HTML output. The plugin likely accepts various forms of media metadata, captions, titles, or custom attributes associated with video carousels and lightboxes. If these inputs are not strictly filtered against a whitelist of allowed characters or if special HTML entities such as angle brackets, quotes, and ampersands are not properly encoded, the browser interprets them as executable code rather than plain text. This failure to neutralize dangerous input allows attackers to embed script tags, event handlers like onerror or onload, or other JavaScript constructs that bypass standard security controls inherent in modern browsers when executed within a trusted domain context.
The operational impact of this vulnerability is severe due to its persistent nature and the high-privilege environment typical of WordPress installations. Once an attacker successfully injects malicious scripts, every user who visits the compromised page becomes a potential victim. This can lead to session hijacking, where attackers steal authentication cookies or tokens to impersonate legitimate users, including administrators with full control over the website content and configuration. Furthermore, stored XSS facilitates phishing attacks by allowing the injection of fake login forms that capture credentials when victims attempt to authenticate. It also enables data exfiltration, where sensitive information such as personal user details, internal site structures, or proprietary media assets are silently transmitted to an attacker-controlled server. In enterprise environments, this can serve as a foothold for lateral movement within the network if the compromised session grants access to backend systems.
From a classification perspective, this vulnerability aligns with CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting'). The specific variant is categorized under Stored XSS, which corresponds to MITRE ATT&CK technique T1059.007: JavaScript within the Execution context category. This mapping highlights that the attack leverages client-side scripting languages to execute arbitrary commands, bypassing server-side protections by exploiting trust relationships between users and the web application. The persistence of the payload distinguishes it from other XSS types, making remediation more critical as the threat remains active until the malicious content is manually removed or the vulnerability is patched in all affected instances.
Mitigation strategies must address both immediate containment and long-term prevention. Immediate actions include identifying and removing any injected scripts from the database entries associated with video carousels and lightboxes within the affected plugin versions. Administrators should also enforce strict access controls to limit who can submit content that might be rendered on public-facing pages, reducing the attack surface for initial injection attempts. For long-term resolution, upgrading to a patched version of the Nks video carousel slider with lightbox plugin is essential if available from the vendor. In cases where updates are not immediately possible or applicable, implementing Web Application Firewall rules can help detect and block common XSS payloads by filtering out suspicious patterns in HTTP requests before they reach the application logic. Additionally, developers should adopt secure coding practices such as output encoding using context-specific methods like HTML entity encoding for data rendered into HTML bodies, attribute values, or JavaScript contexts. Input validation must be enforced on both client and server sides to ensure that only expected character sets are accepted, thereby neutralizing potential malicious inputs before they can cause harm.