Stored Cross-Site Scripting in Lightbox with PhotoSwipe Plugin for WordPress
Key Information:
- Vendor
WordPress
- Status
- CVE ID
- CVE ID:
- CVE-2026-135654
- Vendor
- CVE Published:
- 26 November 2026
Timeline
Vulnerability published
Vulnerability Reserved
How risky is it?
- Yes: Works over the network, no login needed
- No: No public exploit yet
- No: Not on CISA's exploited list
- No: No ransomware use seen
Our verdict
Check today
Find out if you're affected. If you are, patch.
What to do
1Check the vendor's fix
No fixed version is recorded yet. The vendor advisory is the authoritative source for patches.
Read the vendor advisory ↗2Can't patch yet? Reduce exposure
It can be reached over the network, so limit who can reach Lightbox With Photoswipe. Block it from the internet, allow only trusted hosts or a VPN, and turn off the affected feature if you don't use it, until you can update.
3Why it's rated "Check today"
- It can be exploited remotely without credentials.
- Its CVSS severity is high (7.2).
What is CVE-2026-135654?
The Lightbox with PhotoSwipe plugin for WordPress is susceptible to Stored Cross-Site Scripting attacks through the 'comment' parameter. This vulnerability occurs in all versions up to and including 5.18.0, resulting from inadequate input sanitization and output escaping processes. As a consequence, unauthenticated attackers can manipulate web scripts injected via the comment section, leading to the execution of malicious scripts when users access affected pages. Notably, successful exploitation necessitates that an administrator approves the attacker's comment initially—a standard WordPress behavior for first-time commenters—after which the malicious payload automatically executes for any visitor viewing the lightbox associated with that post.
Affected Version(s)
Lightbox with PhotoSwipe 0 <= 5.18.0
References
More WordPress Vulnerabilities
Object Injection in Ultimate Member
Unauthorized Password Reset in User Registration Aide Plugin for WordPress
Remote Code Execution in WP Duplicate Plugin
Facts on this page come from the sources listed above; the writeup is AI-assisted. How we rate vulnerabilities · Report a correction