Lightbox with PhotoSwipe < 5.9.0 - Author+ Stored XSS via data-lbwps-caption Attribute
Key facts
- Attack vector
- Network
- Privileges required
- High
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Cross-site scripting
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA. Impact type from CWE-79.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Unknown | Lightbox with PhotoSwipe | before 5.9.0 | 5.9.0 | Patch available | CNA |
- Lightbox with PhotoSwipe VendorUnknown Affected before 5.9.0 Fixed in 5.9.0 Patch available CNA
Remediation
- Fix · CNA Lightbox with PhotoSwipe (Unknown) Fixed in 5.9.0
Timeline
- 2026-10-02 Threatist record created from CVE-2026-14833
- 2026-10-03 Alias added: GHSA-r6rj-q66h-w8m7
References
Sources
- CVE-2026-14833 · CVE Program
- CVE-2026-14833 · NVD
- FIRST EPSS
- GHSA-r6rj-q66h-w8m7 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences