Elevated
Lightbox with PhotoSwipe comment link enables unauthenticated stored XSS
CVE-2026-125695
Attackers can plant malicious content for visitors through comments.
- CVE
- CVE-2026-125695 (opens in a new tab)
- Score
- CVSS 7.5
- First seen
7.5
Products
Mitigation
Update Lightbox with PhotoSwipe to 5.19.0 or later.
Summary
The WordPress plugin Lightbox with PhotoSwipe does not escape image link URLs in its share menu, so an unauthenticated user can plant malicious script through comments that visitors then load. Versions before 5.19.0 are affected when the PhotoSwipe 4 frontend is used.
Affected when
- Versions before 5.19.0
- PhotoSwipe 4 frontend in use
1 other Incident of this product in the last 30 days
Incidents by product: Lightbox with PhotoSwipe
Other recent Incidents of Lightbox with PhotoSwipe
Read the write-up · wpscan.com (opens in a new tab)
- Write-up: wpscan.com (opens in a new tab)
- CVE record: cve.org (opens in a new tab)