Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2025-10383 Overview
CVE-2025-10383 is a Stored Cross-Site Scripting (XSS) vulnerability in the Contest Gallery – Upload, Vote & Sell with PayPal and Stripe plugin for WordPress. The flaw affects all versions up to and including 27.0.2. It arises from insufficient input sanitization and output escaping on multiple form field parameters. Authenticated attackers with author-level access or higher can inject arbitrary web scripts. The injected scripts execute in the browser of any user visiting the affected page, enabling session theft, redirection, or admin account takeover.
Critical Impact
Authenticated users at author level can persist malicious JavaScript into WordPress pages, leading to script execution against every visitor and potential privilege escalation to administrator.
Affected Products
- Contest Gallery – Upload, Vote & Sell with PayPal and Stripe plugin for WordPress
- All versions up to and including 27.0.2
- WordPress sites with author-level or higher authenticated users
Discovery Timeline
- 2025-10-04 - CVE-2025-10383 published to NVD
- 2026-06-17 - Last updated in NVD database
Technical Details for CVE-2025-10383
Vulnerability Analysis
The vulnerability is classified as Cross-Site Scripting [CWE-79]. It resides in the plugin's form field handling logic, specifically in input.php and textarea.php under the v10/v10-admin/upload/fields/ directory. These files process user-supplied attributes for contest submission fields without properly sanitizing input or escaping output. Attacker-controlled data is rendered directly into page HTML, allowing arbitrary <script> payloads to persist in the database and execute on page render.
Because the scope changes when injected scripts execute in another user's browser context, an author-level attacker can target site administrators. Successful exploitation can lead to session hijacking, forced administrative actions via CSRF, or complete site compromise through plugin or theme editor abuse.
Root Cause
The plugin fails to apply appropriate WordPress escaping functions such as esc_attr() or esc_html() when rendering attributes derived from form field parameters. Input sanitization functions like sanitize_text_field() are also missing from the affected code paths. Trusted-context assumptions about author-level input are incorrect, since author privileges are frequently granted to lower-trust contributors on multi-user WordPress sites.
Attack Vector
An attacker authenticated as an author or higher submits a payload through the plugin's contest field configuration. The payload is stored and later reflected into pages rendered to other users, including administrators. When an administrator opens the affected page, the script runs with the administrator's session, enabling account takeover or arbitrary plugin actions. See the Wordfence Vulnerability Analysis and the vulnerable WordPress Input Field Code for the affected sinks.
Detection Methods for CVE-2025-10383
Indicators of Compromise
- Contest Gallery form field values containing <script>, onerror=, onload=, or javascript: payloads stored in the WordPress database.
- Unexpected outbound HTTP requests from administrator browsers when viewing contest pages.
- Creation of new administrator accounts or plugin installations shortly after an author account edits contest fields.
- Modifications to wp_options or theme files following contest gallery page visits by privileged users.
Detection Strategies
- Review the wp_postmeta and plugin-specific tables for contest field values containing HTML tags or JavaScript event handlers.
- Audit access logs for POST requests to Contest Gallery admin endpoints originating from author-level accounts.
- Monitor DOM events on rendered contest pages for inline script execution not present in the plugin source.
Monitoring Recommendations
- Enable WordPress audit logging to track content edits by author-role users.
- Alert on privilege escalation events, particularly new administrator role assignments.
- Deploy a Web Application Firewall (WAF) with XSS payload signatures scoped to /wp-admin/admin-ajax.php and Contest Gallery endpoints.
How to Mitigate CVE-2025-10383
Immediate Actions Required
- Update the Contest Gallery plugin to a version later than 27.0.2 as soon as a patched release is available.
- Audit all author-level and higher accounts and remove any that are unnecessary or untrusted.
- Review existing Contest Gallery submissions for stored payloads and purge malicious entries.
- Rotate WordPress administrator passwords and invalidate active sessions if suspicious activity is observed.
Patch Information
Refer to the WordPress Changeset Overview for the vendor's remediation commit. Site owners should upgrade to the fixed version released after 27.0.2 and verify the plugin version through the WordPress admin dashboard.
Workarounds
- Restrict author-level access to trusted users only until the plugin is patched.
- Disable or uninstall the Contest Gallery plugin if it is not actively required.
- Deploy a WAF rule blocking HTML tags and JavaScript event handlers in plugin form field parameters.
- Enforce Content Security Policy (CSP) headers to limit inline script execution on WordPress pages.
# Configuration example: WordPress CLI check for plugin version
wp plugin get contest-gallery --field=version
wp plugin update contest-gallery
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

