WP AD Gallery CVE-2025-11834
MEDIUMAttack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain contributor account on target site
-
DeliveryInsert ad-gallery shortcode with payload in startindex
-
ExploitSave post storing unsanitized script
-
ExecutionHigher-privileged user or visitor opens page
-
ImpactScript executes in victim browser context
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 | Exploitation requires an authenticated WordPress account with contributor-level privileges or higher on a site where the WP AD Gallery plugin (version ≤1.3) is installed and active, and where the attacker can insert the 'ad-gallery' shortcode with a crafted 'startindex' parameter into post/page content. The stored payload then fires when any user - including higher-privileged admins/editors or site visitors - renders the affected page. Limiting factors: the contributor authentication prerequisite means the attacker already needs a trusted-author foothold, so the vulnerability is most relevant to multi-author or open-registration sites; single-admin blogs where no lower-trust accounts exist face little practical exposure. |
| Impact | This is a moderate-severity stored XSS (CVSS 6.4, CWE-79) that should be triaged as routine-priority rather than urgent. The CVSS vector (AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N) indicates network-reachable, low-complexity exploitation requiring authentication (PR:L), consistent with the description's requirement for contributor-level access and above - authentication is confirmed from the vector, not merely inferred. The scope change (S:C) and low confidentiality/integrity impact reflect that the injected script executes in other users'/visitors' browser contexts, which is the expected signature of stored XSS. Exploitation signals are low: EPSS is only 0.19% (8th percentile), there is no CISA KEV listing, and no public exploit code is referenced, so there is no public exploit identified at time of analysis. The need for an authenticated contributor account materially constrains real-world risk - this is not an unauthenticated internet-wide mass-exploitation candidate. The main realistic concern is privilege escalation/lateral abuse on multi-author sites where lower-trust contributors exist. No key signals conflict; the primary limiting factor (authenticated contributor prerequisite) is corroborated across both the description and the PR:L metric. |
| Exploit ScenarioDerived | On a multi-author WordPress site running WP AD Gallery ≤1.3, a user with contributor-level access creates or edits a post containing the ad-gallery shortcode and injects a malicious payload into the 'startindex' parameter, which is stored without sanitization. When an administrator, editor, or site visitor views the page, the script executes in their browser session, enabling session/cookie theft or admin-context actions. No public exploit code is referenced, though the vulnerable code path is identified at shortcode.php line 177. |
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 WP AD Gallery WordPress plugin (all versions up to and including 1.3) allows an authenticated attacker with contributor-level access or above to inject arbitrary JavaScript through the 'startindex' parameter of the ad-gallery shortcode, which then executes in the browser of any user viewing the affected page. The flaw is a classic CWE-79 input-sanitization/output-escaping failure in the shortcode handler, rated CVSS 6.4 (network vector, low privileges required, scope change), and it is not known to be actively exploited - no public exploit identified at time of analysis - with a low EPSS score of roughly 0.19% (8th percentile). Practical exposure is largely limited to multi-author or open-registration WordPress sites where low-trust accounts exist, since the attacker must already hold a contributor-level foothold.
RemediationAI
No vendor-released patch identified at time of analysis, so remediation must rely on compensating controls until an updated plugin version appears: the most direct measure is to deactivate and, if unused, uninstall WP AD Gallery (trade-off: the ad-gallery functionality disappears from affected pages, which may leave broken shortcode text visible), or to temporarily remove the plugin's shortcode rendering while the site owner monitors the Wordfence advisory and the WordPress plugin repository for a fixed release. If the gallery cannot be taken offline, restrict the ability to create or submit content by removing the contributor role from untrusted accounts and tightening registration (trade-off: reduces editorial throughput on multi-author sites and breaks open-registration workflows), and enforce WordPress role capabilities so that only fully trusted editors can publish content containing the ad-gallery shortcode. Where an editorial workflow exists, gate new contributor posts behind mandatory administrator review, since the injected payload also fires for higher-privileged users previewing the content. A web application firewall or content-security-policy that blocks inline script execution provides defense-in-depth against stored payloads that are already in the database, but it will not remove existing malicious content, so any site that already ran 1.3 should also scan post/page content for injected 'startindex' values and clean them. Refer to https://www.wordfence.com/threat-intel/vulnerabilities/id/0144ae03-00ce-481d-8d29-7a484f1f6cbf?source=cve and https://plugins.trac.wordpress.org/browser/wp-ad-gallery/tags/1.3/shortcode/shortcode.php#L177 for vendor and source-level detail, and validate any upstream fix commit or tagged release before relying on it as the patch.
Affected ProductsAI
The WordPress plugin WP AD Gallery is affected in all versions up to and including 1.3; the vendor's source for the vulnerable tag is visible at https://plugins.trac.wordpress.org/browser/wp-ad-gallery/tags/1.3/shortcode/shortcode.php#L177, which is where the unescaped 'startindex' shortcode attribute is handled. Any WordPress site running this plugin at version ≤1.3 with the ad-gallery shortcode available and a user holding contributor-level or higher privileges is in scope; the vendor-side advisory, including affected version confirmation, is published by Wordfence at https://www.wordfence.com/threat-intel/vulnerabilities/id/0144ae03-00ce-481d-8d29-7a484f1f6cbf?source=cve. No explicit CPE identifier was supplied in the intelligence feed, so inventory matching should be done against the plugin slug 'wp-ad-gallery' and installed version metadata.
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
WP AD Gallery is a WordPress plugin that renders image galleries via the [ad-gallery] shortcode. The vulnerable code path lives in shortcode/shortcode.php (reference points to line 177 of the 1.3 tag in the WordPress plugin Trac), where the 'startindex' shortcode attribute is accepted without adequate sanitization and emitted into the generated HTML without output escaping. Under the CWE-79 (Improper Neutralization of Input During Web Page Generation) root-cause class, this means an attacker-supplied value is stored in post/page content and later echoed unescaped into the gallery markup, so it is parsed and executed as script in the context of the site's origin. Because the shortcode output is produced server-side and cached inside the post body, the payload is persistent rather than reflected, and because WordPress renders contributor-submitted content on the front end as well as in editorial previews, the injected script can reach administrators and editors reviewing the post in addition to ordinary visitors. The CVSS vector (AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N) confirms low-privilege network exploitation, no user interaction requirement, and a scope change - the vulnerable component's context is escaped into the broader site/user session. No CPE strings were provided in the input data, but the affected component is unambiguously the WordPress plugin 'wp-ad-gallery' at version 1.3 and earlier.
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
Stored XSS reachable over the network with low complexity; PR:L because a contributor account is required, UI:N as the payload auto-executes on page load, S:C and C:L/I:L for cross-context browser impact.
Primary rating from Vendor (wordfence).
CVSS VectorVendor: wordfence
DescriptionCVE.org
The WP AD Gallery plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'startindex' parameter of the ad-gallery shortcode in all versions up to, and including, 1.3. This is due to insufficient input sanitization and output escaping. 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