🔐 CVE Alert

CVE-2025-12849

MEDIUM 5.3

Contest Gallery <= 28.0.2 - Missing Authorization

CVSS Score
5.3
EPSS Score
0.0%
EPSS Percentile
0th

The Contest Gallery plugin for WordPress is vulnerable to authorization bypass in all versions up to, and including, 28.0.2. This is due to the plugin registering the `cg_check_wp_admin_upload_v10` AJAX action for both authenticated and unauthenticated users without implementing capability checks or nonce verification. This makes it possible for unauthenticated attackers to inject arbitrary WordPress media attachments into galleries and manipulate gallery metadata via the `cg_check_wp_admin_upload_v10` action. It does not enable an attacker to move or upload files.

CWE CWE-862
Vendor contest-gallery
Product contest gallery – upload & vote photos, media, sell with paypal & stripe
Published Nov 15, 2025
Last Updated Apr 8, 2026
Stay Ahead of the Next One

Get instant alerts for contest-gallery contest gallery – upload & vote photos, media, sell with paypal & stripe

Be the first to know when new medium vulnerabilities affecting contest-gallery contest gallery – upload & vote photos, media, sell with paypal & stripe are published — delivered to Slack, Telegram or Discord.

Get Free Alerts → Free · No credit card · 60 sec setup

CVSS v3 Breakdown

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability

Affected Versions

contest-gallery / Contest Gallery – Upload & Vote Photos, Media, Sell with PayPal & Stripe
0 ≤ 28.0.2

References

NVD ↗ CVE.org ↗ EPSS Data ↗
wordfence.com: https://www.wordfence.com/threat-intel/vulnerabilities/id/e000c4ad-43ec-4ad0-89f9-74e9e6d8b917?source=cve plugins.trac.wordpress.org: https://plugins.trac.wordpress.org/browser/contest-gallery/tags/28.0.2/v10/include-functions-v10.php#L42 plugins.trac.wordpress.org: https://plugins.trac.wordpress.org/browser/contest-gallery/tags/28.0.2/v10/include-functions-v10.php#L47 plugins.trac.wordpress.org: https://plugins.trac.wordpress.org/browser/contest-gallery/tags/28.0.2/v10/include-functions-v10.php#L64 plugins.trac.wordpress.org: https://plugins.trac.wordpress.org/browser/contest-gallery/tags/28.0.2/v10/v10-admin/gallery/wp-uploader.php#L15 plugins.trac.wordpress.org: https://plugins.trac.wordpress.org/browser/contest-gallery/tags/28.0.2/v10/v10-admin/gallery/wp-uploader.php#L173 wordpress.org: https://wordpress.org/plugins/contest-gallery/#developers

Credits

M Indra Purnama