CVE-2026-14833
Received Received - Intake

Stored Cross-Site Scripting in Lightbox with PhotoSwipe WordPress Plugin

Vulnerability report for CVE-2026-14833, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-07-31

Last updated on: 2026-07-31

Assigner: WPScan

Description

The Lightbox with PhotoSwipe WordPress plugin before 5.9.0 does not sanitise or escape a link data attribute before rendering it into the image lightbox caption in the browser, allowing users with author-level access and above (who lack the unfiltered_html capability) to store JavaScript that runs when a visitor or administrator opens the lightbox.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-07-31
Last Modified
2026-07-31
Generated
2026-07-31
AI Q&A
2026-07-31
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
lightbox photoswipe to 5.9.0 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-UNKNOWN

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This is a stored cross-site scripting (XSS) vulnerability in the Lightbox with PhotoSwipe WordPress plugin versions before 5.9.0. It occurs because the plugin does not properly sanitize or escape the data-lbwps-caption attribute in image links. Users with author-level access or higher can inject malicious JavaScript into captions. When the lightbox is opened, the script executes in the browser of visitors or administrators.

Detection Guidance

Check if the Lightbox with PhotoSwipe plugin version is below 5.9.0. Inspect WordPress posts for links with the data-lbwps-caption attribute containing suspicious JavaScript payloads. Use commands like grep -r 'data-lbwps-caption' /path/to/wordpress to search for affected links.

Impact Analysis

If you are a WordPress site administrator or user with author-level access, an attacker could exploit this to inject malicious scripts. These scripts could steal cookies, session tokens, or sensitive data, redirect users to malicious sites, or perform actions on behalf of the user. Visitors to the site could have their sessions compromised or be exposed to phishing attacks.

Compliance Impact

This vulnerability could lead to data breaches, exposing personal or sensitive data. Under GDPR, this may result in fines for failing to protect user data. For HIPAA, it could compromise protected health information, leading to compliance violations and penalties. Organizations must address this to maintain regulatory compliance.

Mitigation Strategies

Update the Lightbox with PhotoSwipe plugin to version 5.9.0 or later. Remove any untrusted user-generated content with malicious scripts. Restrict author-level access to prevent further exploitation.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-14833. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart