Skip to content
OpenAdvisories
Medium · 6.8 CVE-2026-14833 EUVD-2026-51412GHSA-r6rj-q66h-w8m7

Lightbox with PhotoSwipe < 5.9.0 - Author+ Stored XSS via data-lbwps-caption Attribute

Published Jul 31, 2026 · Updated Jul 31, 2026 · Assigned by WPScan

Description

The Lightbox with PhotoSwipe WordPress plugin before 5.9.0 does not sanitise or escape a link data attribute before rendering it into the image lightbox caption in the browser, allowing users with author-level access and above (who lack the unfiltered_html capability) to store JavaScript that runs when a visitor or administrator opens the lightbox.

Affected products

VendorProductAffectedFixed
— Lightbox with PhotoSwipe < 5.9.0 5.9.0

References