Lightbox with PhotoSwipe < 5.9.0 - Author+ Stored XSS via data-lbwps-caption Attribute
Lightbox with PhotoSwipe
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Unknown Lightbox with PhotoSwipe |
| No fix yet |
Original 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.
From the CVE record · WPScan