CVE-2026-14833: CWE-79 Cross-Site Scripting (XSS) in Lightbox with PhotoSwipe
A Cross-Site Scripting (XSS) vulnerability exists in the Lightbox with PhotoSwipe WordPress plugin before version 5.9.0. The plugin fails to sanitize or escape a link data attribute before rendering it in the image lightbox caption. This allows users with author-level access or higher (without unfiltered_html capability) to inject JavaScript that executes when the lightbox is opened by visitors or administrators.
AI Analysis
Technical Summary
The Lightbox with PhotoSwipe WordPress plugin versions prior to 5.9.0 contain a stored XSS vulnerability (CWE-79). The flaw arises because the plugin does not properly sanitize or escape a link data attribute before rendering it into the image lightbox caption in the browser. This enables users with author-level privileges and above, who do not have the unfiltered_html capability, to store malicious JavaScript code. The injected script executes when a visitor or administrator opens the affected lightbox, potentially leading to compromise of confidentiality, integrity, and availability.
Potential Impact
Successful exploitation allows an attacker with author-level access to inject and execute arbitrary JavaScript in the context of the site for visitors and administrators. This can lead to theft of sensitive information, session hijacking, or other malicious actions impacting confidentiality, integrity, and availability of the affected WordPress site.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict author-level user capabilities and avoid granting untrusted users author-level access. Monitor for plugin updates and apply them promptly once released.
CVE-2026-14833: CWE-79 Cross-Site Scripting (XSS) in Lightbox with PhotoSwipe
Description
A Cross-Site Scripting (XSS) vulnerability exists in the Lightbox with PhotoSwipe WordPress plugin before version 5.9.0. The plugin fails to sanitize or escape a link data attribute before rendering it in the image lightbox caption. This allows users with author-level access or higher (without unfiltered_html capability) to inject JavaScript that executes when the lightbox is opened by visitors or administrators.
CVSS v3.1
Score 6.8medium
Affected software
Lightbox with PhotoSwipe
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The Lightbox with PhotoSwipe WordPress plugin versions prior to 5.9.0 contain a stored XSS vulnerability (CWE-79). The flaw arises because the plugin does not properly sanitize or escape a link data attribute before rendering it into the image lightbox caption in the browser. This enables users with author-level privileges and above, who do not have the unfiltered_html capability, to store malicious JavaScript code. The injected script executes when a visitor or administrator opens the affected lightbox, potentially leading to compromise of confidentiality, integrity, and availability.
Potential Impact
Successful exploitation allows an attacker with author-level access to inject and execute arbitrary JavaScript in the context of the site for visitors and administrators. This can lead to theft of sensitive information, session hijacking, or other malicious actions impacting confidentiality, integrity, and availability of the affected WordPress site.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict author-level user capabilities and avoid granting untrusted users author-level access. Monitor for plugin updates and apply them promptly once released.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- WPScan
- Date Reserved
- 2026-07-06T09:51:49.570Z
- State
- PUBLISHED
Threat ID: 6a6c42b59c2644c7f86e85f0
Added to database: 07/31/2026, 06:37:41 UTC
Last enriched: 08/07/2026, 15:02:14 UTC
Last updated: 09/14/2026, 22:01:31 UTC
Views: 31
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.