CVE-2025-13904
📋 TL;DR
The WPGancio WordPress plugin has a stored XSS vulnerability in its 'gancio-event' shortcode that allows authenticated attackers with contributor-level access or higher to inject malicious scripts. These scripts execute when users view compromised pages, potentially stealing session cookies or redirecting visitors. All WordPress sites using WPGancio versions up to 1.12 are affected.
💻 Affected Systems
- WPGancio WordPress Plugin
⚠️ Manual Verification Required
This CVE does not have specific version information in our database, so automatic vulnerability detection cannot determine if your system is affected.
Why? The CVE database entry doesn't specify which versions are vulnerable (no version ranges provided by the vendor/NVD).
🔒 Custom verification scripts are available for registered users. Sign up free to download automated test scripts.
- Review the CVE details at NVD
- Check vendor security advisories for your specific version
- Test if the vulnerability is exploitable in your environment
- Consider updating to the latest version as a precaution
⚠️ Risk & Real-World Impact
Worst Case
Attackers could steal administrator session cookies, take over the WordPress site, install backdoors, or redirect visitors to malicious sites.
Likely Case
Attackers with contributor access inject malicious scripts to steal user session data or display phishing content to visitors.
If Mitigated
With proper user access controls and content security policies, impact is limited to defacement or minor data leakage from affected pages.
🎯 Exploit Status
Exploitation requires authenticated access but is technically simple once an attacker has contributor-level credentials.
🛠️ Fix & Mitigation
✅ Official Fix
Patch Version: 1.13 or later
Vendor Advisory: https://plugins.trac.wordpress.org/browser/wpgancio/trunk/wc.php
Restart Required: No
Instructions:
1. Log into WordPress admin panel. 2. Navigate to Plugins → Installed Plugins. 3. Find WPGancio and click 'Update Now'. 4. Verify version is 1.13 or higher.
🔧 Temporary Workarounds
Disable WPGancio Plugin
allTemporarily deactivate the vulnerable plugin until patched
wp plugin deactivate wpgancio
Restrict Contributor Access
allRemove contributor-level permissions from untrusted users
wp user list --role=contributor --field=ID
wp user set-role <user_id> subscriber
🧯 If You Can't Patch
- Implement Content Security Policy (CSP) headers to restrict script execution
- Regularly audit user accounts and remove unnecessary contributor-level permissions
🔍 How to Verify
Check if Vulnerable:
Check WordPress admin panel → Plugins → Installed Plugins for WPGancio version 1.12 or lower
Check Version:
wp plugin list --name=wpgancio --field=version
Verify Fix Applied:
Verify WPGancio version is 1.13 or higher in WordPress admin panel
📡 Detection & Monitoring
Log Indicators:
- Unusual shortcode modifications in page/post content
- Multiple failed login attempts followed by successful contributor login
Network Indicators:
- Unexpected script tags in page responses containing 'gancio-event' attributes
SIEM Query:
source="wordpress.log" AND ("gancio-event" OR "wpgancio") AND ("script" OR "onclick" OR "javascript:")