{
 "schema_version": "1.9.2",
 "id": "WPSEC-2026-4156",
 "modified": "2026-11-28T05:43:38Z",
 "published": "2026-11-28T05:43:38Z",
 "summary": "prettyPhoto JavaScript Library <= 1.9.1 - Authenticated (Contributor+) Stored Cross-Site Scripting via Lightbox Link URL",
 "details": "The WP Video Lightbox plugin for WordPress is vulnerable to Stored Cross-Site Scripting via lightbox link URLs handled by the bundled prettyPhoto library in all versions up to, and including, 1.9.1, due to the library inserting the href of a lightbox link into its image, iframe, flash, quicktime and gallery markup through plain string replacement, without attribute escaping or a check that the URL uses http or https. This makes it possible for authenticated attackers, with contributor-level access and above, to put crafted lightbox links in posts that run arbitrary web scripts when a user opens the lightbox.",
 "severity": [
  {
   "type": "CVSS_V3",
   "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N"
  }
 ],
 "affected": [
  {
   "package": {
    "ecosystem": "WordPress:Plugin",
    "name": "wp-video-lightbox"
   },
   "ranges": [
    {
     "type": "ECOSYSTEM",
     "events": [
      {
       "introduced": "0"
      },
      {
       "fixed": "1.9.13"
      }
     ]
    }
   ],
   "database_specific": {
    "affected_text": [
     "all versions before 1.9.13"
    ]
   }
  }
 ],
 "references": [
  {
   "type": "ADVISORY",
   "url": "https://wpsec.com/vuln/WPSEC-2026-4156/"
  },
  {
   "type": "WEB",
   "url": "https://plugins.svn.wordpress.org/wp-video-lightbox/tags/1.9.13/"
  },
  {
   "type": "PACKAGE",
   "url": "https://wordpress.org/plugins/wp-video-lightbox/"
  }
 ],
 "database_specific": {
  "url": "https://wpsec.com/vuln/WPSEC-2026-4156/",
  "cwe_ids": [
   "CWE-79"
  ],
  "vulnerability_type": "XSS",
  "severity": "Medium",
  "license": {
   "name": "CC BY 4.0",
   "url": "https://creativecommons.org/licenses/by/4.0/"
  }
 }
}
