CVE-2026-136215: All-in-One Video Gallery <= 5.2.0 - Authenticated (Subscriber+) Stored Cross-Site Scripting via 'content' Shortcode Attribute
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 wpksespost — applied on save for users lacking unfilteredhtml — passes it through without stripping angle brackets; WordPress core's shortcodeparseatts() then decodes the escapes into real HTML characters at render time.
Affected Software
Event History
Frequently Asked Questions
Who can exploit this issue?
An attacker needs an authenticated WordPress account with Subscriber-level access or higher. They must be able to submit content containing the affected shortcode attribute.
What payload conditions are required for exploitation?
The malicious script must be placed in the shortcode's content attribute and encoded as C-style escape sequences, such as \x3c and \x3e, when saved. WordPress decodes those sequences during shortcode attribute parsing when the affected page is rendered.
When does the injected script execute?
The script executes when a user accesses a page containing the attacker-injected shortcode. This is stored XSS, so the payload remains in the saved content until it is removed or the affected software is updated.
How can I check for possible exploitation?
Review WordPress pages and other saved content for use of the affected shortcode with a content attribute containing C-style escaped sequences, particularly \x3c or \x3e. Investigate content created or edited by Subscriber-level or other lower-privileged accounts.