{
 "id": "WPSEC-2026-4156",
 "url": "https://wpsec.com/vuln/WPSEC-2026-4156/",
 "json_url": "https://wpsec.com/vuln/WPSEC-2026-4156/advisory.json",
 "markdown_url": "https://wpsec.com/vuln/WPSEC-2026-4156/index.md",
 "osv_url": "https://wpsec.com/vuln/osv/WPSEC-2026-4156.json",
 "title": "prettyPhoto JavaScript Library <= 1.9.1 - Authenticated (Contributor+) Stored Cross-Site Scripting via Lightbox Link URL",
 "description": "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.",
 "plugin": {
  "slug": "wp-video-lightbox",
  "name": "prettyPhoto JavaScript Library",
  "full_name": "WP Video Lightbox",
  "wordpress_org": "https://wordpress.org/plugins/wp-video-lightbox/",
  "advisories_url": "https://wpsec.com/vuln/plugin/wp-video-lightbox/",
  "attacksurface": "https://attacksurface.wpsec.com/plugin/wp-video-lightbox"
 },
 "type": "XSS",
 "cwe": [
  "CWE-79"
 ],
 "cve": [],
 "cvss": {
  "version": "3.1",
  "score": 5.4,
  "vector": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N",
  "severity": "Medium"
 },
 "affected": {
  "ranges": [
   {
    "from": null,
    "from_inclusive": true,
    "to": "1.9.13",
    "to_inclusive": false
   }
  ],
  "text": [
   "all versions before 1.9.13"
  ]
 },
 "introduced_in": null,
 "fixed_in": "1.9.13",
 "remediation": "Update to 1.9.13 or later.",
 "fix_released": "2026-11-27T04:55:20+00:00",
 "published": "2026-11-28T05:43:38+00:00",
 "updated": "2026-11-27T10:20:52.294055+00:00",
 "also_published_as": null,
 "references": [
  "https://wpsec.com/vuln/WPSEC-2026-4156/",
  "https://plugins.svn.wordpress.org/wp-video-lightbox/tags/1.9.13/",
  "https://wordpress.org/plugins/wp-video-lightbox/"
 ],
 "attacksurface_url": "https://attacksurface.wpsec.com/plugin/wp-video-lightbox",
 "source": "WPSec",
 "license": {
  "name": "CC BY 4.0",
  "url": "https://creativecommons.org/licenses/by/4.0/"
 },
 "usage": {
  "plugin": "Medium",
  "affected_versions": "Medium",
  "as_of": "2026-11-28"
 }
}