Preliminary notice: published right away from the original source data, without editorial write-up. It will shortly be replaced by a written and reviewed version.
Summary
CVE-2026-125695: high-severity vulnerability (CVSS 7.5) in Lightbox with PhotoSwipe.
What happened
Original description from the source: The Lightbox with PhotoSwipe WordPress plugin before 5.19.0 does not escape image link URLs before outputting them in the attributes of the lightbox share menu, allowing unauthenticated users to perform Stored Cross-Site Scripting attacks via comments when the PhotoSwipe 4 frontend is used.
Why it matters
High severity, CVSS 7.5.
Affected products and versions
Lightbox with PhotoSwipe < 5.19.0
| Product | Versions | Fixed in |
|---|---|---|
| Lightbox with PhotoSwipe | < 5.19.0 | — |
Action recommended by the source
See the official references for the fix or mitigation.
Sources and references
Weaknesses (CWE): CWE-79
Relevant change history
Published
Preliminary advisory published.