All vulnerabilities

WordPress plugins

CVE-2026-135654

Lightbox with PhotoSwipe <= 5.18.0 - Unauthenticated Stored Cross-Site Scripting via Comment Link 'title' Attribute

Severity
High 7.2
Published
26 Nov 2026
Last changed
26 Nov 2026
Added to UpHeron
26 Nov 2026
Exploit chance
0.5% in the next 30 daysHigher than 38% of CVEs. EPSS by FIRST, 29 Nov 2026
Weakness
Cross-site scripting (CWE-79)
Attack
Over the network · No login needed · No user action needed
Attacker can
Read some data · Change some data
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
Sources
CVE Program

Description

The Lightbox with PhotoSwipe plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'comment' parameter in all versions up to, and including, 5.18.0 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. Successful exploitation requires an administrator to approve the attacker's comment at least once, which is the default WordPress behavior for first-time commenters; after that initial approval, no further administrative action is needed and the payload fires for any visitor who opens the lightbox on the affected post.

From the CVE Program.

Affected software

SoftwareAffected versions
Lightbox Photoswipe (WordPress plugin)WordPress plugins · wp-plugin:lightbox-photoswipe
  • Every version up to 5.18.0

About Lightbox with PhotoSwipe

Integration of PhotoSwipe (http://photoswipe.com) for WordPress.

From its WordPress.org page.
Active installations
20,000+WordPress.org, 26 Nov 2026
Latest version
5.25.0WordPress.org, 26 Nov 2026
Last updated
26 Nov 2026WordPress.org
Rating
4.9 out of 5 (116 ratings)WordPress.org, 26 Nov 2026
Requires WordPress
6.5WordPress.org
Tested up to WordPress
7.1.5WordPress.org
Author
Arno WelzelWordPress.org
In the directory since
2 Nov 2017WordPress.org

This is the only vulnerability in Lightbox with PhotoSwipe in our list.

References

  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-135654