prettyPhoto JavaScript Library <= 1.9.1 - Authenticated (Contributor+) Stored Cross-Site Scripting via Lightbox Link URL
- ID
- WPSEC-2026-4156
- Plugin
- WP Video Lightbox (wp-video-lightbox)
- Affected
- all versions before 1.9.13
- Remediation
- Update to 1.9.13 or later.
- CVSS 3.1
- CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
- Weakness
- CWE-79
- Usage
- Plugin Medium · Affected versions Medium among sites WPSec scans, 2026-11-28
- Attack surface
- prettyPhoto JavaScript Library on WPSec AttackSurface
- Fix released
- Published
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.
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/
Published by WPSec. Provided as is, without warranty. Corrections: contact us.
This advisory as JSON, OSV or Markdown · All advisories: JSON, OSV, RSS