{
 "id": "WPSEC-2026-3730",
 "url": "https://wpsec.com/vuln/WPSEC-2026-3730/",
 "json_url": "https://wpsec.com/vuln/WPSEC-2026-3730/advisory.json",
 "markdown_url": "https://wpsec.com/vuln/WPSEC-2026-3730/index.md",
 "osv_url": "https://wpsec.com/vuln/osv/WPSEC-2026-3730.json",
 "title": "Video Gallery – YouTube Gallery, Playlist & Video Grid <= 4.1.1 - Authenticated (Contributor+) Stored Cross-Site Scripting via emd_form Shortcode",
 "description": "The Video Gallery – YouTube Gallery, Playlist & Video Grid plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'emd_form' shortcode in all versions up to, and including, 4.1.1, due to the shortcode loading any post ID as form configuration without checking its post type or status, and enqueuing the configuration's css_enq and js_enq URLs without validation. This makes it possible for authenticated attackers, with contributor-level access and above, to make pages load arbitrary external scripts that will execute whenever a user accesses an injected page.",
 "plugin": {
  "slug": "youtube-showcase",
  "name": "Video Gallery – YouTube Gallery, Playlist & Video Grid",
  "full_name": "Video Gallery – YouTube Gallery, Playlist & Video Grid",
  "wordpress_org": "https://wordpress.org/plugins/youtube-showcase/",
  "advisories_url": "https://wpsec.com/vuln/plugin/youtube-showcase/",
  "attacksurface": "https://attacksurface.wpsec.com/plugin/youtube-showcase"
 },
 "type": "XSS",
 "cwe": [
  "CWE-79"
 ],
 "cve": [],
 "cvss": {
  "version": "3.1",
  "score": 6.4,
  "vector": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N",
  "severity": "Medium"
 },
 "affected": {
  "ranges": [
   {
    "from": "3.1.1",
    "from_inclusive": true,
    "to": "4.1.2",
    "to_inclusive": false
   }
  ],
  "text": [
   "from 3.1.1 before 4.1.2"
  ]
 },
 "introduced_in": "3.1.1",
 "fixed_in": "4.1.2",
 "remediation": "Update to 4.1.2 or later.",
 "fix_released": "2026-11-22T09:47:44+00:00",
 "published": "2026-11-23T14:56:33+00:00",
 "updated": "2026-11-23T13:54:52.802952+00:00",
 "also_published_as": null,
 "references": [
  "https://wpsec.com/vuln/WPSEC-2026-3730/",
  "https://plugins.svn.wordpress.org/youtube-showcase/tags/4.1.2/",
  "https://wordpress.org/plugins/youtube-showcase/"
 ],
 "attacksurface_url": "https://attacksurface.wpsec.com/plugin/youtube-showcase",
 "source": "WPSec",
 "license": {
  "name": "CC BY 4.0",
  "url": "https://creativecommons.org/licenses/by/4.0/"
 },
 "usage": {
  "plugin": "Low",
  "affected_versions": "Low",
  "as_of": "2026-11-23"
 }
}