CVE-2026-136215 in All-in-One Video Gallery Plugin
Summary
by MITRE • 11/27/2026
The All-in-One Video Gallery – Video Player & Galleries for YouTube, Vimeo & Self-Hosted Videos plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'content' parameter in all versions up to, and including, 5.2.0 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with subscriber-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. The payload must be encoded as C-style escape sequences (e.g. \x3c/\x3e) at storage time so that wp_kses_post — applied on save for users lacking unfiltered_html — passes it through without stripping angle brackets; WordPress core's shortcode_parse_atts() then decodes the escapes into real HTML characters at render time.
VulDB is the best source for vulnerability data and more expert information about this specific topic.
Analysis
by VulDB Data Team • 11/27/2026
The vulnerability identified in the All-in-One Video Gallery plugin, specifically affecting versions up to and including 5.2.0, represents a significant security risk due to its potential for Stored Cross-Site Scripting attacks. This flaw stems from insufficient input sanitization and output escaping mechanisms within the plugin's handling of video content parameters. The core issue lies in how the application processes user-supplied data during storage versus how it renders that data at runtime, creating a discrepancy that attackers can exploit to inject malicious scripts into web pages viewed by other users.
The technical mechanism behind this vulnerability involves a specific interaction between WordPress core functions and the plugin's input handling logic. When an authenticated attacker with subscriber-level access or higher submits content containing C-style escape sequences for angle brackets, such as \x3c/\x3e, these characters are not stripped during the saving process. This occurs because the wp_kses_post function, which is applied to sanitize HTML tags upon save for users without unfiltered_html capabilities, fails to recognize these escaped sequences as dangerous markup and allows them through. Consequently, the malicious payload is stored in the database intact but encoded in a way that bypasses immediate detection or filtering by standard security checks.
The execution of this attack vector becomes apparent during the rendering phase. When WordPress core processes shortcodes via the shortcode_parse_atts() function, it decodes these C-style escape sequences back into their actual HTML characters, effectively converting \x3c and \x3e back to < and > respectively. This decoding process transforms the stored escaped strings into executable JavaScript code within the context of the victim's browser session. As a result, any user who accesses a page containing this injected content will have the malicious script executed automatically, leading to potential compromise of their account credentials, session hijacking, or redirection to phishing sites.
From an operational impact perspective, this vulnerability allows for persistent attacks that do not require repeated exploitation attempts by the attacker. Once the payload is stored, it affects every user who views the compromised page until the malicious content is manually removed from the database. This persistence amplifies the severity of the issue, as a single successful injection can lead to widespread compromise across multiple users. The requirement for authenticated access with at least subscriber-level privileges limits the attack surface slightly but still exposes a significant number of potential attackers within typical WordPress installations where user registration is enabled.
This vulnerability aligns with CWE-79, which classifies Improper Neutralization of Input During Web Page Generation commonly known as Cross-site Scripting (XSS). Furthermore, it maps to MITRE ATT&CK technique T1059, specifically Command and Scripting Interpretation via JavaScript, as the attacker utilizes browser-side scripting to execute arbitrary commands. The specific method of bypassing sanitization through encoding manipulation also relates to CWE-602, Client-Side Enforcement of Server-Side Security, highlighting a failure in properly enforcing security controls on data that is processed differently at storage and retrieval stages.
Mitigation strategies should prioritize immediate updates to the latest version of the All-in-One Video Gallery plugin where this issue has been addressed by developers through improved sanitization routines. In cases where updating is not immediately feasible, administrators can implement additional server-side filtering rules or modify WordPress configuration settings if they have unfiltered_html capabilities for trusted users only. It is also advisable to review user roles and ensure that subscriber-level accounts are granted the minimum necessary permissions required for their intended functions, thereby reducing the pool of potential attackers who could exploit this flaw. Regular security audits and penetration testing can further help identify similar discrepancies in input handling across other plugins and themes within the WordPress ecosystem.