{
 "id": "WPSEC-2026-1495",
 "url": "https://wpsec.com/vuln/WPSEC-2026-1495/",
 "json_url": "https://wpsec.com/vuln/WPSEC-2026-1495/advisory.json",
 "markdown_url": "https://wpsec.com/vuln/WPSEC-2026-1495/index.md",
 "title": "All-in-One Video Gallery <= 4.9.7 - Authenticated (Subscriber+) Stored Cross-Site Scripting via 'embedcode' Post Meta",
 "description": "The All-in-One Video Gallery plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'embedcode' and 'trailer_src' post meta in all versions up to, and including, 4.9.7. The cause is that these meta values were sanitized only by the plugin's own video editor form and were not registered with a sanitize callback. Values written another way, such as through XML-RPC custom fields, were stored unfiltered and later printed as raw HTML by the player. Because the plugin grants subscribers the capability to create and edit their own videos, 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.",
 "plugin": {
  "slug": "all-in-one-video-gallery",
  "name": "All-in-One Video Gallery",
  "full_name": "All-in-One Video Gallery – Video Player & Galleries for YouTube, Vimeo & Self-Hosted Videos",
  "wordpress_org": "https://wordpress.org/plugins/all-in-one-video-gallery/",
  "advisories_url": "https://wpsec.com/vuln/plugin/all-in-one-video-gallery/",
  "attacksurface": "https://attacksurface.wpsec.com/plugin/all-in-one-video-gallery"
 },
 "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": null,
    "from_inclusive": true,
    "to": "5.0.0",
    "to_inclusive": false
   }
  ],
  "text": [
   "all versions before 5.0.0"
  ]
 },
 "introduced_in": null,
 "fixed_in": "5.0.0",
 "remediation": "Update to 5.0.0 or later.",
 "fix_released": "2026-10-22T05:42:23+00:00",
 "published": "2026-10-23T05:44:15+00:00",
 "updated": "2026-10-22T10:11:48.174673+00:00",
 "also_published_as": null,
 "references": [
  "https://wpsec.com/vuln/WPSEC-2026-1495/",
  "https://plugins.svn.wordpress.org/all-in-one-video-gallery/tags/5.0.0/",
  "https://wordpress.org/plugins/all-in-one-video-gallery/"
 ],
 "attacksurface_url": "https://attacksurface.wpsec.com/plugin/all-in-one-video-gallery",
 "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-10-23"
 }
}