CVE-2026-15790: Video Gallery <= 4.0.4 - Authenticated (Author+) Stored Cross-Site Scripting via Attachment 'post_title' via emd_mb_meta Shortcode
The Youtube Showcase plugin for WordPress is vulnerable to Stored Cross-Site Scripting in versions up to, and including, 4.0.4 via the 'emdmbmeta' shortcode. This is due to insufficient input sanitization and output escaping on attachment titles referenced by the shortcode's image field: EMDMBHelper::imageinfo() returns the attachment's raw posttitle, and EMDMBHelper::shortcode() interpolates it into title="%s" HTML attributes via sprintf() without escattr(). This makes it possible for authenticated attackers, with author-level access and above (uploadfiles capability required to create the attachment, editposts/publishposts to embed the shortcode), to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2026-15790?
CVE-2026-15790 has a medium severity rating of 6.4.
How do I fix CVE-2026-15790?
To fix CVE-2026-15790, update the Video Gallery plugin to version 4.0.5 or later.
What kind of vulnerability is CVE-2026-15790?
CVE-2026-15790 is a stored Cross-Site Scripting (XSS) vulnerability.
What is affected by CVE-2026-15790?
CVE-2026-15790 affects the Video Gallery plugin for WordPress up to version 4.0.4.
What causes the vulnerability in CVE-2026-15790?
CVE-2026-15790 is caused by insufficient input sanitization and output escaping on the 'post_title' attachment when using the 'emd_mb_meta' shortcode.