Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2025-12691: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in sayontan Photonic Gallery & Lightbox for Flickr, SmugMug & Others

0
Medium
VulnerabilityCVE-2025-12691cvecve-2025-12691cwe-79
Published: Tue Nov 18 2025 (11/18/2025, 09:27:39 UTC)
Source: CVE Database V5
Vendor/Project: sayontan
Product: Photonic Gallery & Lightbox for Flickr, SmugMug & Others

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.

AI-Powered Analysis

AILast updated: 11/18/2025, 09:52:58 UTC

Technical Analysis

CVE-2025-12691 is a stored cross-site scripting vulnerability classified under CWE-79, found in the Photonic Gallery & Lightbox for Flickr, SmugMug & Others WordPress plugin developed by sayontan. The vulnerability exists in all versions up to and including 3.21 due to improper neutralization of user-supplied input in the caption attribute used by the plugin's lightbox functionality. Authenticated users with contributor-level access or above can inject arbitrary JavaScript code into the caption field. Because the plugin fails to properly sanitize and escape this input before rendering it on web pages, the malicious script is stored persistently and executed in the context of any user who views the affected page. This can lead to session hijacking, defacement, or redirection to malicious sites. The vulnerability is remotely exploitable over the network without user interaction but requires low privileges (contributor access). The CVSS v3.1 base score is 6.4, indicating medium severity, with impact on confidentiality and integrity but no direct impact on availability. No public exploits or active exploitation have been reported to date. The vulnerability was published on November 18, 2025, with no patch links currently available, emphasizing the need for prompt vendor response and user mitigation.

Potential Impact

For European organizations, this vulnerability poses a moderate risk primarily to websites using the Photonic Gallery & Lightbox plugin on WordPress, especially those with multiple contributors or editors who can upload or edit content. Successful exploitation could allow attackers to execute malicious scripts in the browsers of site visitors or administrators, potentially leading to session hijacking, theft of sensitive information, or unauthorized actions performed on behalf of users. This could damage organizational reputation, lead to data breaches, or facilitate further attacks such as phishing. The impact is heightened for organizations relying on WordPress for public-facing websites, digital media, or e-commerce platforms. Since the vulnerability requires contributor-level access, insider threats or compromised contributor accounts increase risk. The lack of a patch at the time of disclosure means organizations must rely on compensating controls until updates are available.

Mitigation Recommendations

1. Immediately audit and restrict contributor-level access to trusted users only, minimizing the number of users who can inject content. 2. Monitor and review all user-generated content, especially captions in galleries, for suspicious scripts or HTML. 3. Deploy a Web Application Firewall (WAF) with rules specifically targeting stored XSS attacks to block malicious payloads before they reach the application. 4. Implement Content Security Policy (CSP) headers to restrict the execution of unauthorized scripts in browsers. 5. Regularly update the Photonic Gallery & Lightbox plugin as soon as the vendor releases a patch addressing this vulnerability. 6. Educate content contributors about secure content practices and risks of injecting untrusted code. 7. Consider temporarily disabling or replacing the vulnerable plugin if patching is delayed. 8. Conduct penetration testing focused on XSS vulnerabilities to detect any residual or similar issues.

Need more detailed analysis?Get Pro

Technical Details

Data Version
5.2
Assigner Short Name
Wordfence
Date Reserved
2025-11-04T11:38:18.450Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 691c3e32a312a743bb510b9f

Added to database: 11/18/2025, 9:36:50 AM

Last enriched: 11/18/2025, 9:52:58 AM

Last updated: 11/22/2025, 5:43:31 AM

Views: 16

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need enhanced features?

Contact root@offseq.com for Pro access with improved analysis and higher rate limits.

Latest Threats