{
 "id": "WPSEC-2026-4095",
 "url": "https://wpsec.com/vuln/WPSEC-2026-4095/",
 "json_url": "https://wpsec.com/vuln/WPSEC-2026-4095/advisory.json",
 "markdown_url": "https://wpsec.com/vuln/WPSEC-2026-4095/index.md",
 "osv_url": "https://wpsec.com/vuln/osv/WPSEC-2026-4095.json",
 "title": "All-in-One Video Gallery – Video Player & Galleries for YouTube, Vimeo & Self-Hosted Videos <= 5.2.0 - Unauthenticated DOM-Based Cross-Site Scripting via HLS/DASH Stream Text Track Labels",
 "description": "The All-in-One Video Gallery plugin for WordPress is vulnerable to DOM-Based Cross-Site Scripting via the text track labels and languages of HLS/DASH streams in the Vidstack (Plyr) player in all versions up to, and including, 5.2.0. This is due to track names read from a remote playlist being passed to Plyr, which inserts them into its captions menu with innerHTML, without escaping. The stream URL can be supplied as the base64-encoded 'hls' or 'dash' query parameter of the plugin's player page, or stored in a video's HLS/DASH source. This makes it possible for unauthenticated attackers to inject arbitrary web scripts that execute when a user follows a crafted link or views a video that points to an attacker-controlled playlist. Exploitation requires the Vidstack player to be selected in the plugin settings.",
 "plugin": {
  "slug": "all-in-one-video-gallery",
  "name": "All-in-One Video Gallery – Video Player & Galleries for YouTube, Vimeo & Self-Hosted Videos",
  "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.1,
  "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N",
  "severity": "Medium"
 },
 "affected": {
  "ranges": [
   {
    "from": null,
    "from_inclusive": true,
    "to": "5.2.1",
    "to_inclusive": false
   }
  ],
  "text": [
   "all versions before 5.2.1"
  ]
 },
 "introduced_in": null,
 "fixed_in": "5.2.1",
 "remediation": "Update to 5.2.1 or later.",
 "fix_released": "2026-11-26T10:04:44+00:00",
 "published": "2026-11-27T10:44:45+00:00",
 "updated": "2026-11-27T10:29:22.884065+00:00",
 "also_published_as": null,
 "references": [
  "https://wpsec.com/vuln/WPSEC-2026-4095/",
  "https://plugins.svn.wordpress.org/all-in-one-video-gallery/tags/5.2.1/",
  "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-11-27"
 }
}