CVE-2025-13904

6.4 MEDIUM

📋 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

Products:
  • WPGancio WordPress Plugin
Versions: All versions up to and including 1.12
Operating Systems: All operating systems running WordPress
Default Config Vulnerable: ⚠️ Yes
Notes: Requires WordPress installation with WPGancio plugin enabled and at least one user with contributor-level permissions.

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

Recommended Actions:
  1. Review the CVE details at NVD
  2. Check vendor security advisories for your specific version
  3. Test if the vulnerability is exploitable in your environment
  4. 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.

🌐 Internet-Facing: HIGH
🏢 Internal Only: MEDIUM

🎯 Exploit Status

Public PoC: ✅ No
Weaponized: LIKELY
Unauthenticated Exploit: ✅ No
Complexity: LOW

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

all

Temporarily deactivate the vulnerable plugin until patched

wp plugin deactivate wpgancio

Restrict Contributor Access

all

Remove 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:")

🔗 References

📤 Share & Export