CVE-2025-13904
Unknown Unknown - Not Provided

Stored XSS in WPGancio WordPress Plugin Allows Script Injection

Vulnerability report for CVE-2025-13904, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2025-12-12

Last updated on: 2025-12-12

Assigner: Wordfence

Description

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2025-12-12
Last Modified
2025-12-12
Generated
2026-07-06
AI Q&A
2025-12-12
EPSS Evaluated
2026-07-05
NVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
wordpress wpgancio *

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-79 The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability is a Stored Cross-Site Scripting (XSS) issue in the WPGancio WordPress plugin, specifically in the 'gancio-event' shortcode. It occurs because the plugin does not properly sanitize or escape user-supplied attributes, allowing authenticated users with contributor-level access or higher to inject malicious scripts. These scripts then execute whenever any user views the affected page.

Compliance Impact

The provided resources and context do not contain information regarding the impact of this vulnerability on compliance with common standards and regulations such as GDPR or HIPAA.

Detection Guidance

To detect this vulnerability, you can scan your WordPress installation for the presence of the WPGancio plugin version 1.12 or earlier. Checking for the plugin's shortcode usage '[gancio-event]' or '[gancio-events]' in posts may indicate potential exploitation. Additionally, inspecting pages for injected scripts within these shortcodes or custom tags can help identify stored XSS attempts. Commands to assist detection include: 1) Using WP-CLI to list installed plugins and their versions: `wp plugin list | grep wpgancio` 2) Searching the WordPress database for usage of the vulnerable shortcodes: `wp db query "SELECT ID, post_content FROM wp_posts WHERE post_content LIKE '%[gancio-event]%' OR post_content LIKE '%[gancio-events]%'"` 3) Using curl or wget to fetch pages and grep for suspicious script tags within gancio-event elements. These steps help identify if the vulnerable plugin is present and if any content contains potentially malicious injected scripts. [2, 3]

Mitigation Strategies

Immediate mitigation steps include: 1) Updating the WPGancio plugin to a version later than 1.12 where the vulnerability is fixed. 2) If an update is not available, temporarily disabling or uninstalling the plugin to prevent exploitation. 3) Reviewing and sanitizing existing content that uses the '[gancio-event]' and '[gancio-events]' shortcodes or tags to remove any injected malicious scripts. 4) Restricting contributor-level access or higher to trusted users only, as the vulnerability requires authenticated contributor-level access. 5) Implementing Web Application Firewall (WAF) rules to detect and block attempts to inject scripts via these shortcodes. These steps reduce the risk of stored XSS attacks via the vulnerable plugin. [2, 3]

Impact Analysis

An attacker with contributor-level access or above can inject arbitrary scripts into pages, which will execute in the browsers of users who visit those pages. This can lead to theft of user credentials, session hijacking, defacement, or other malicious actions performed on behalf of the user without their consent.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2025-13904. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart