Description
The Photonic Gallery & Lightbox for Flickr, SmugMug & Others plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's lightbox functionality in all versions up to, and including, 3.21 due to insufficient input sanitization and output escaping on user supplied caption attribute. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses the injected page.
Published: 2025-11-18
Score: 6.4 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Stored Cross‑Site Scripting (XSS)
Action: Upgrade
AI Analysis

Impact

The Photonic Gallery & Lightbox plugin for WordPress contains a stored XSS flaw that allows an attacker with contributor‑level access to inject arbitrary script payloads through the caption attribute of the lightbox functionality. When a victim views an affected page, the injected code executes in the victim’s browser, potentially allowing credential theft, session hijacking, defacement or the execution of malicious scripts. The weakness is classified as CWE‑79, indicating improper input handling and reflective output rendering.

Affected Systems

Users running the Photonic Gallery & Lightbox plugin for Flickr, SmugMug & Others, version 3.21 or earlier, on any WordPress site. The plugin is identified by the vendor product name sayontan:Photonic Gallery & Lightbox for Flickr, SmugMug & Others.

Risk and Exploitability

The CVSS score of 6.4 denotes a moderate risk, while the EPSS score of < 1 % indicates a low likelihood of exploitation in the wild. Because the vulnerability requires authenticated access, the attack surface is limited to sites with contributor‑level users. The flaw is not currently listed in the CISA KEV catalog, but due to the prevalence of WordPress installations and the ease of exploitation once a contributor account has been compromised, administrators should treat it with priority. The exploit path involves an attacker logging in, editing a media item’s caption, and embedding malicious JavaScript that will run for any user who views the image or lightbox content. No public exploit code is known at this time, but given the low exploitation probability, immediate patching is recommended to eliminate the risk.

Generated by OpenCVE AI on April 22, 2026 at 00:31 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply the latest plugin update available from the vendor.
  • If an immediate update is impossible, disable or revoke contributor or higher‑level user permissions from editing captions or media items until the patch is applied.
  • Optionally, enforce an additional layer of input validation or use a Web Application Firewall to sanitize any remaining caption inputs and block execution of injected scripts.

Generated by OpenCVE AI on April 22, 2026 at 00:31 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 19 Nov 2025 11:00:00 +0000

Type Values Removed Values Added
First Time appeared Sayontan
Sayontan photonic Gallery & Lightbox
Wordpress
Wordpress wordpress
Vendors & Products Sayontan
Sayontan photonic Gallery & Lightbox
Wordpress
Wordpress wordpress

Tue, 18 Nov 2025 22:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Tue, 18 Nov 2025 09:45:00 +0000

Type Values Removed Values Added
Description The Photonic Gallery & Lightbox for Flickr, SmugMug & Others plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's lightbox functionality in all versions up to, and including, 3.21 due to insufficient input sanitization and output escaping on user supplied caption attribute. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses the injected page.
Title Photonic Gallery & Lightbox for Flickr, SmugMug & Others <= 3.21 - Authenticated (Contributor+) Stored Cross-Site Scripting via Caption Attribute
Weaknesses CWE-79
References
Metrics cvssV3_1

{'score': 6.4, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N'}


Subscriptions

Sayontan Photonic Gallery & Lightbox
Wordpress Wordpress
cve-icon MITRE

Status: PUBLISHED

Assigner: Wordfence

Published:

Updated: 2026-04-08T17:11:54.650Z

Reserved: 2025-11-04T11:38:18.450Z

Link: CVE-2025-12691

cve-icon Vulnrichment

Updated: 2025-11-18T21:10:51.109Z

cve-icon NVD

Status : Deferred

Published: 2025-11-18T10:15:48.487

Modified: 2026-04-15T00:35:42.020

Link: CVE-2025-12691

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-04-22T00:45:04Z

Weaknesses