Photographers Galleries CVE-2025-11866
MEDIUMAttack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as contributor-level user
-
DeliveryInject script via vulnerable shortcode attribute
-
ExploitPayload stored in page content
-
ExecutionExecutes in victim/admin browser on view
-
ImpactHijack session or escalate privileges
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 | Requires an authenticated WordPress account at contributor level or above (PR:L) on a site with the Photographers galleries plugin ≤1.1.8 active, and the attacker must be able to insert the plugin's shortcode with an unsanitized attribute (e.g. w, h, raw_css, look). Exploitation is most realistic on multi-author sites or sites allowing self-registration to contributor roles; single-admin sites with no untrusted accounts are not meaningfully exposed. The stored payload requires no attacker interaction to persist, but it only fires when a victim subsequently views the injected page - in practice an administrator or visitor opening that content. |
| Impact | Signals converge on a genuine-but-moderate priority rather than an emergency. The CVSS 3.1 base score of 6.4 (AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N) reflects a network-reachable, low-complexity stored XSS whose scope change (S:C) accounts for code executing in other users' browser contexts, but the PR:L requirement means an attacker must first hold an authenticated contributor-level (or higher) account - a meaningful gatekeeper that excludes purely anonymous internet-wide exploitation. EPSS is very low at 0.19% (8th percentile), the CVE is NOT on the CISA KEV list, and no public exploit code was identified in the provided intelligence, so there is no evidence of active or imminent mass exploitation. These signals are mutually consistent: a contributor-gated stored XSS in a niche plugin is a plausible insider/privilege-escalation vector on multi-author or open-registration sites but is unlikely to drive widespread automated attacks, which is exactly what the low EPSS and absence of KEV/POC indicate. No key signals conflict; the main caveat is that POC availability is simply unknown from this dataset rather than confirmed absent. |
| Exploit ScenarioDerived | An attacker who has obtained a contributor-level account (via self-registration, a compromised credential, or an insider) on a WordPress site running Photographers galleries ≤1.1.8 inserts a malicious payload into a shortcode attribute such as raw_css, w, h, or look. The unsanitized value is stored and rendered into an HTML attribute or inline style, so the injected script executes in the browser of any user - including an administrator - who later views the page. No public exploit code was identified at the time of analysis, but the technique is trivial given the low attack complexity. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 08, 2026
Stored cross-site scripting in the Photographers Galleries WordPress plugin (all versions up to and including 1.1.8) allows an authenticated attacker with contributor-level access or above to inject arbitrary JavaScript through shortcode attributes such as w, h, raw_css and look, which is then persisted in page content. The payload executes in the browser of any user - typically an administrator or site visitor - who later views the injected page, though no privilege escalation beyond the contributor role is needed to plant it. Only the plugin's shortcode handling is affected, and there is no requirement for a victim to click a crafted link; the script fires on normal page rendering. Risk signals are moderate: EPSS is low at 0.19% (8th percentile), there is no confirmed active exploitation (not in CISA KEV) and no public exploit code identified at time of analysis, so this is a genuine-but-moderate priority issue rather than an emergency.
RemediationAI
No vendor-released patch was identified at time of analysis, so there is no confirmed fixed version to upgrade to; track the Wordfence advisory at https://www.wordfence.com/threat-intel/vulnerabilities/id/9300af5d-7886-4f4e-8454-0dcf2d895fee?source=cve and the plugin's Trac for a corrected release. Until a fix ships, the most effective control is to deactivate and, if it is not business-critical, remove the Photographers Galleries plugin outright - this eliminates the shortcode handler entirely, with the trade-off that any gallery content rendered by the plugin will stop displaying. Where the plugin must stay active, restrict exposure by preventing untrusted users from obtaining contributor-level access: disable open registration, audit and downgrade dormant contributor accounts, and review existing contributor-authored posts for the plugin's shortcode with suspicious attributes (w, h, raw_css, look) or embedded script/event-handler markup - removing injected content stops the payload firing on page views. Note that a WordPress content-security or unfiltered-HTML hardening plugin will not fully mitigate this class of bug, since the flaw occurs in plugin-side output rendering rather than post filtering. A Web Application Firewall rule that blocks or strips script tags and event handlers inside shortcode attributes provides partial, bypassable protection and should be treated as compensating only, not as a substitute for disabling the plugin.
Affected ProductsAI
The affected product is the WordPress plugin Photographers Galleries, in all released versions up to and including 1.1.8; the vulnerable code path is the shortcode handler in includes/shortcodes.php (source at https://plugins.trac.wordpress.org/browser/photographers-galleries/tags/1.1.8/includes/shortcodes.php#L61). Any WordPress installation with the plugin active at version 1.1.8 or earlier is in scope, and exposure is greatest on multi-author sites or sites that permit self-registration into contributor-level roles, since a contributor account is the only prerequisite. No CPE strings were supplied in the input data, so the precise vendor/product naming should be taken from the vendor advisory at https://www.wordfence.com/threat-intel/vulnerabilities/id/9300af5d-7886-4f4e-8454-0dcf2d895fee?source=cve. The reported version ceiling is the latest tag referenced in the advisory, meaning no fixed release is identified in the available data.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The vulnerability is a classic CWE-79 improper neutralization of input during web page generation (stored/persistent XSS) rooted in the WordPress shortcode API. WordPress shortcodes accept user-supplied attributes, and the plugin's handler in includes/shortcodes.php (the publicly linked source line L61 in the 1.1.8 tag) takes attributes such as w, h, raw_css and look and interpolates them directly into HTML element attributes and inline style declarations without applying esc_attr(), esc_html(), wp_kses() or an equivalent sanitization/escaping routine. Because contributor-authored post content is stored in the database and re-rendered on every page view, the injected markup persists and breaks out of the attribute context to introduce script or event-handler payloads. The CVSS vector (AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N) confirms network-reachable, low-complexity exploitation requiring a low-privileged authenticated account (PR:L), with no user interaction needed from the victim to persist the payload; Scope is Changed because the injected script executes in the origin/context of the surrounding site rather than confined to the plugin component, and confidentiality and integrity impacts are partial while availability is unaffected.
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:N/S:C/C:L/I:L/A:N
Contributor authentication gives PR:L; stored XSS executing in other users' browsers justifies S:C with low confidentiality/integrity impact and no availability effect.
Primary rating from Vendor (wordfence).
CVSS VectorVendor: wordfence
DescriptionCVE.org
The Photographers galleries plugin for WordPress is vulnerable to Stored Cross-Site Scripting via multiple shortcode attributes (w, h, raw_css, look, etc.) in all versions up to, and including, 1.1.8. This is due to the plugin not properly sanitizing user input or escaping output when inserting these values into HTML attributes and inline styles. 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 an injected page.
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
NVD
CVE.org
EPSS
GitHub PoC
Exploit-DB