WPGancio CVE-2025-13904
MEDIUMAttack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain contributor-level WordPress account
-
DeliveryAuthor page with malicious gancio-event shortcode attribute
-
ExploitStored payload bypasses sanitization/escaping
-
ExecutionAdmin or user views page
-
PersistScript executes in victim browser
-
ImpactHijack session or perform privileged actions
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 (1) the WPGancio plugin version ≤1.12 installed and active, and (2) an authenticated account with contributor-level capability or higher so the attacker can create content embedding the plugin's 'gancio-event' shortcode. The specific trigger is supplying unsanitized attribute values to that shortcode, which are stored and later emitted unescaped. Realistic risk is limited by the authentication/role requirement (PR:L - not exploitable by anonymous visitors) and by the need for a victim to subsequently view the injected page for the payload to fire; sites that do not delegate authoring roles to untrusted users face minimal exposure. |
| Impact | This is a moderate-risk, low-urgency issue rather than a top priority. The CVSS 3.1 base score of 6.4 (MEDIUM) is driven almost entirely by the scope change (S:C), which reflects that injected script executes in victims' browsers across a trust boundary; the raw impact is otherwise limited (C:L/I:L/A:N). The signals are internally consistent and point away from mass exploitation: EPSS is 0.27% (18th percentile), there is no CISA KEV listing, and no public exploit code is referenced in the provided data. Crucially, the attack is NOT unauthenticated - the CVSS vector contains PR:L and the description confirms contributor-level access is required, which substantially narrows the viable attacker population to users who already hold an authoring role on the WordPress site. No key signals are missing or conflicting: the network vector (AV:N) and low complexity (AC:L) align with the stored-XSS-via-shortcode mechanism described, and the low EPSS is appropriate for a privilege-gated stored XSS in a niche plugin. The practical risk is therefore contained to sites that grant contributor+ accounts to semi-trusted or untrusted users. |
| Exploit ScenarioDerived | An attacker holding a contributor-level (or higher) account on a WordPress site running WPGancio ≤1.12 authors a post or page containing a 'gancio-event' shortcode with a malicious attribute value carrying JavaScript. Because the attribute is neither sanitized on input nor escaped on output, the script is stored and executes in the browser of any user - including administrators - who later views the rendered page, enabling session/cookie theft or admin-context actions. No public exploit code is identified at time of analysis, though the injection technique is straightforward given a contributor account. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 07, 2026
Stored cross-site scripting in the WPGancio plugin for WordPress (all versions up to and including 1.12) allows an authenticated user holding contributor-level privileges or higher to inject arbitrary JavaScript through the attributes of the plugin's 'gancio-event' shortcode, which is then persisted and rendered without escaping whenever a victim views the affected page. Rated CVSS 6.4 (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N), the issue is constrained in practice by the PR:L requirement - anonymous visitors cannot trigger it - and by the need for a second party to view the poisoned content. EPSS is low at 0.27 percent (18th percentile), there is no CISA KEV entry, and no public exploit code was identified at the time of analysis, making this a moderate-risk, low-urgency item; no vendor-released patched version has been identified, so sites that grant contributor access to untrusted users should treat mitigation as the priority.
RemediationAI
No vendor-released patch has been identified at the time of analysis - the referenced repository links show the affected attribute-handling code still present at wc.php line 33 in both the 1.12 tag and trunk - so remediation must proceed through compensating controls until an updated WPGancio release appears. The most direct step is to deactivate and remove the WPGancio plugin on any site that does not strictly require it, accepting the loss of the Gancio event integration as the trade-off; if the plugin is operationally necessary, restrict the ability to create content containing the 'gancio-event' shortcode to fully trusted accounts by tightening role assignments (remove or downgrade contributor/author accounts you do not personally control) and by auditing all existing posts and drafts for embedded 'gancio-event' shortcodes with suspicious attribute values, since contributors can also stage payloads in pending submissions and previews. Where the plugin must remain and contributor workflows are needed, add an output-side filter that runs the shortcode result through wp_kses() or esc_attr() on the affected attributes - this can break legitimate event formatting but eliminates the stored injection path - and deploy a WAF rule (ModSecurity or a managed WordPress WAF) that inspects POST bodies for 'gancio-event' shortcodes containing script tags, event handlers, or javascript: URIs, understanding that WAF signature evasion is possible and that the rule will not protect against payloads already stored in the database. Because exploitation requires only PR:L, monitor WordPress user accounts for unexpected contributor-level provisioning and review the plugin's changelog and the Wordfence advisory URL above for a future fixed version; upgrade immediately once a patched release is published.
Affected ProductsAI
The WPGancio plugin for WordPress, all versions up to and including 1.12, running on any WordPress installation where the plugin is installed and active and where accounts with contributor-level capability or above exist or can be obtained. The vulnerable code path is located in wc.php (line 33) and is present in both the tagged 1.12 release (https://plugins.trac.wordpress.org/browser/wpgancio/tags/1.12/wc.php#L33) and the current development trunk (https://plugins.trac.wordpress.org/browser/wpgancio/trunk/wc.php#L33). No CPE strings were provided in the source data, so version identification must be performed by inspecting the installed plugin version. The primary vulnerability record is the Wordfence advisory at https://www.wordfence.com/threat-intel/vulnerabilities/id/593fefe1-8813-440b-b8c7-fbfd5b71a737?source=cve.
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 flaw is a classic CWE-79 improper neutralization of input during web page generation, specifically the stored (persistent) variant, in the WordPress shortcode handling layer of WPGancio. The plugin registers a 'gancio-event' shortcode and, per the referenced source at wc.php line 33 (identical in both the 1.12 release tag and current trunk), accepts user-supplied shortcode attributes that are neither sanitized on input nor escaped with esc_attr()/esc_html()/wp_kses() on output. Because WordPress shortcode output is inserted directly into post content that is later served to other users, any markup or JavaScript embedded in those attributes becomes part of the rendered page. WordPress's contributor role can create and edit posts but cannot publish them directly; however, contributor content can be previewed by editors and, once approved, published, and shortcode processing also occurs during preview - so the payload can fire in the editor's browser session even before publication. The S:C scope change in the CVSS vector reflects that the injected scripts execute in the origin of the WordPress site and can act on behalf of any viewer, including higher-privileged users. There is no CPE data supplied beyond the plugin name, but the affected component is unambiguous: the WPGancio WordPress plugin, tags 1.12 and trunk.
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 account needed so PR:L; shortcode injection is trivial (AC:L) over the network (AV:N); script crosses into the victim-browser authority (S:C) with limited C/I impact and no availability effect.
Primary rating from Vendor (wordfence).
CVSS VectorVendor: wordfence
DescriptionCVE.org
The WPGancio plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's 'gancio-event' shortcode in all versions up to, and including, 1.12 due to insufficient input sanitization and output escaping on user supplied attributes. 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