CVE-2026-125695: Lightbox with PhotoSwipe < 5.19.0 - Unauthenticated Stored XSS via Comment Link URL in Share Menu

Published Nov 20, 2026
·
Updated

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.

Affected Software

1 affected component
dFactory Lightbox with PhotoSwipe<5.19.0

Event History

Nov 20, 2026
CVE Published
via MITRE·06:00 AM
Data Sourced
via MITRE·06:00 AM
DescriptionWeakness
Data Sourced
via NVD·06:17 AM
Description

Frequently Asked Questions

1

Which sites are exposed to this issue?

Sites using Lightbox with PhotoSwipe versions before 5.19.0 are affected when they use the PhotoSwipe 4 frontend. The vulnerable output is the share menu's image link URL attributes.

2

What does an attacker need to exploit it?

An attacker can exploit the issue without authentication by supplying a crafted link URL through a comment. Successful exploitation results in stored cross-site scripting.

3

Is every plugin configuration affected?

No. The issue is described as affecting deployments where the PhotoSwipe 4 frontend is used; the provided information does not establish impact for other frontends.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203