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.
Metrics
CVSS 3.1 6.8/10
CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| Unknown | Lightbox with PhotoSwipe | < 5.9.0 |
References
Timeline
- Published
- Jul 31, 2026
- Last modified
- Aug 26, 2026
- NVD status
- Deferred