Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessGain authenticated Contributor access
-
DeliveryCraft malicious Photonic gallery entry
-
ExploitAdmin views galleries in WordPress dashboard
-
ExecutionMalicious script executes in admin's browser
-
PersistSteal session cookie or perform admin actions
-
ImpactEscalate privileges or deface site
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | The attacker must possess a valid Contributor-level account on the WordPress site. The plugin must be configured and the Contributor role must have permission to create or edit Photonic galleries. The attack succeeds when an authenticated administrator or higher-privilege user views the crafted gallery or configuration page in the WordPress admin area, enabling the JavaScript to execute. Exploitation requires user interaction (UI:R) and is limited to environments where the Photonic plugin is active and contributors can inject content. |
| Impact | CVSS 3.1 score of 6.5 (AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:L) indicates a medium-severity vulnerability that requires authenticated Contributor access and user interaction. The attack is network-accessible but the need for a targeted user action (admin viewing the infected page) reduces real-world urgency. No public exploit code or active exploitation has been reported, and the vulnerability is not listed in CISA KEV. EPSS data is unavailable, but given the moderate install base and required privileges, widespread automated exploitation is unlikely. However, in environments where administrators frequently browse gallery configurations set by untrusted contributors, this poses a risk of privilege escalation. The risk is low for most sites but targeted attacks against WordPress administrators are possible. |
| Exploit ScenarioDerived | A Contributor with access to the Photonic plugin settings inserts a malicious JavaScript payload into a gallery shortcode or configuration field. Later, an administrator opens the WordPress admin panel to manage galleries, and the stored script executes in the administrator's browser session. The attacker can then hijack the session or perform administrative actions on behalf of the admin. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 27, 2026
Stored cross-site scripting in the Photonic Gallery & Lightbox plugin for WordPress allows authenticated attackers with Contributor-level privileges to inject arbitrary web scripts. When an administrator or other higher-privilege user views a crafted gallery or album configuration, the malicious script executes in their browser, potentially leading to session hijacking or account takeover. This affects all versions up to and including 3.33.
RemediationAI
Immediately update to Photonic Gallery & Lightbox version 3.34 or later, which contains the official vendor patch. The fix is confirmed by Patchstack in the advisory referenced above. If an immediate update is not feasible, restrict Contributor access to trusted users only and review any existing gallery content for suspicious script injections. No other workarounds are effective, as the vulnerability resides in the core plugin logic. Administrators should also consider implementing Content Security Policy (CSP) headers to mitigate XSS impact across the site, but this is a defence-in-depth measure, not a substitute for the patch.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The vulnerability lies in the Photonic Gallery & Lightbox WordPress plugin (by Sayontan Sinha), a tool for embedding photo galleries from Flickr, SmugMug, and other services. The plugin fails to properly sanitize user-supplied input in gallery configuration parameters, enabling stored XSS (CWE-79). The CPE cpe:2.3:a:sayontan_sinha:photonic_gallery_&_lightbox_for_flickr,_smugmug_&_others:*:*:*:*:*:*:*:* confirms the product identity. The issue arises because a low-privilege role (Contributor) can inject JavaScript payloads that are stored and later rendered in the admin interface, triggering a Cross-Site Scripting attack with a scope change (S:C in CVSS). No specific protocol or library is involved beyond standard WordPress/PHP web application behaviour.
Know when Wordpress Plugin gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:L
Requires Contributor privileges (PR:L) and user interaction (UI:R); XSS enables scope change (S:C) with low impact to confidentiality, integrity, and availability.
Primary rating from Vendor (Patchstack).
CVSS VectorVendor: Patchstack
DescriptionCVE.org
Contributor Cross Site Scripting (XSS) in Photonic Gallery & Lightbox for Flickr, SmugMug & Others <= 3.33 versions.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
More in Wordpress Plugin
View allThe Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
The Hash Form - Drag & Drop Form Builder plugin for WordPress is vulnerable to arbitrary file uploads due to missing fil
Authentication bypass in the LiteSpeed Cache WordPress plugin (versions prior to 6.5.0.1) allows unauthenticated remote
The Simple File List plugin for WordPress through version 4.2.2 contains an unauthenticated remote code execution vulner
The AI Engine WordPress plugin through version 3.1.3 exposes Bearer Token values through the /mcp/v1/ REST API endpoint
The SureTriggers WordPress plugin through version 1.0.82 contains a privilege escalation vulnerability that allows unaut
The Ninja Forms plugin before 2.9.42.1 for WordPress allows remote attackers to conduct PHP object injection attacks via
The Business Directory Plugin - Easy Listing Directories for WordPress plugin for WordPress is vulnerable to time-based
SQL injection in the NotificationX WordPress plugin (versions up to and including 2.8.2) allows unauthenticated remote a
The POST SMTP Mailer - Email log, Delivery Failure Notifications and Best Mail SMTP for WordPress plugin for WordPress i
The MasterStudy LMS WordPress Plugin - for Online Courses and Education plugin for WordPress is vulnerable to union base
The Email Subscribers by Icegram Express plugin for WordPress is vulnerable to SQL Injection via the ‘hash’ parameter in
EUVD-2026-49243
GHSA-94w5-q7f9-fhrx
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB