Skip to main content

WPGancio CVE-2025-13904

MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2025-12-12 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
    Obtain contributor-level WordPress account
  2. Delivery
    Author page with malicious gancio-event shortcode attribute
  3. Exploit
    Stored payload bypasses sanitization/escaping
  4. Execution
    Admin or user views page
  5. Persist
    Script executes in victim browser
  6. Impact
    Hijack 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.

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

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

Alert me

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

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 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.

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:P/VC:L/VI:L/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 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

EPSS Score
0.3%
Top 82% exploitable
Prevalence
Low
niche WordPress plugin bridging Gancio event federation, small 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.3%
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