Skip to main content

Photographers Galleries CVE-2025-11866

MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2025-10-22 security@wordfence.com
6.4
CVSS 3.1 · Vendor: wordfence
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate as contributor-level user
  2. Delivery
    Inject script via vulnerable shortcode attribute
  3. Exploit
    Payload stored in page content
  4. Execution
    Executes in victim/admin browser on view
  5. Impact
    Hijack 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

Vendor (wordfence) PRIMARY 6.4 MEDIUM
AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
vuln.today AI 6.4 MEDIUM

Contributor authentication gives PR:L; stored XSS executing in other users' browsers justifies S:C with low confidentiality/integrity impact and no availability effect.

3.1 AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N

Primary rating from Vendor (wordfence).

CVSS VectorVendor: wordfence

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

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

EPSS Score
0.2%
Top 92% exploitable
Prevalence
Low
niche WordPress photo-gallery plugin, limited install base
Data Quality
3 sources
Confidence: Low

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

32
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +32
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

CVE-2023-6553 CRITICAL POC
9.8 Dec 15

The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1

CVE-2024-5084 CRITICAL POC
9.8 May 23

The Hash Form - Drag & Drop Form Builder plugin for WordPress is vulnerable to arbitrary file uploads due to missing fil

CVE-2024-44000 CRITICAL POC
9.8 Oct 20

Authentication bypass in the LiteSpeed Cache WordPress plugin (versions prior to 6.5.0.1) allows unauthenticated remote

CVE-2020-36847 CRITICAL POC
9.8 Jul 12

The Simple File List plugin for WordPress through version 4.2.2 contains an unauthenticated remote code execution vulner

CVE-2025-11749 CRITICAL POC
9.8 Nov 05

The AI Engine WordPress plugin through version 3.1.3 exposes Bearer Token values through the /mcp/v1/ REST API endpoint

CVE-2025-27007 CRITICAL POC
9.8 May 01

The SureTriggers WordPress plugin through version 1.0.82 contains a privilege escalation vulnerability that allows unaut

CVE-2016-1209 CRITICAL POC
9.8 May 14

The Ninja Forms plugin before 2.9.42.1 for WordPress allows remote attackers to conduct PHP object injection attacks via

CVE-2024-4443 CRITICAL POC
9.8 May 22

The Business Directory Plugin - Easy Listing Directories for WordPress plugin for WordPress is vulnerable to time-based

CVE-2024-1698 CRITICAL POC
9.8 Feb 27

SQL injection in the NotificationX WordPress plugin (versions up to and including 2.8.2) allows unauthenticated remote a

CVE-2023-6875 CRITICAL POC
9.8 Jan 11

The POST SMTP Mailer - Email log, Delivery Failure Notifications and Best Mail SMTP for WordPress plugin for WordPress i

CVE-2024-1512 CRITICAL POC
9.8 Feb 17

The MasterStudy LMS WordPress Plugin - for Online Courses and Education plugin for WordPress is vulnerable to union base

CVE-2024-4295 CRITICAL POC
9.8 Jun 05

The Email Subscribers by Icegram Express plugin for WordPress is vulnerable to SQL Injection via the ‘hash’ parameter in

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy