CVE-2025-12849
MediumCVSS 5.3Exploitation Probability (EPSS)
Low risk23th percentile - higher than 23% of all known CVEs
Summary
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.
Risk Assessment
Attackers can inject malicious attachments into galleries, potentially leading to malware distribution or content integrity compromise. The organization may be exposed to phishing or defacement attacks.
Recommendation
It is recommended to update the Contest Gallery plugin to the latest version and implement proper capability checks and nonce verification. Also scan galleries for unauthorized attachments.
Other vulnerabilities in Contest Gallery
See all- CVE-2026-40771Critical
There is an unauthenticated SQL Injection vulnerability in Contest Gallery versions up to 28.1.6.
- CVE-2026-61986High
Unauthenticated Cross Site Scripting (XSS) vulnerability in Contest Gallery plugin versions up to 30.0.5. An attacker can inject malicious script without authentication.
- CVE-2026-16586Medium
The Contest Gallery plugin for WordPress up to version 30.0.7 is vulnerable to second-order SQL injection via the cg_multiple_files_for_post and cgRealId parameters. Insufficient escaping and lack of query preparation allow authenticated attackers with author-level access to append additional SQL queries, potentially extracting sensitive information.
- CVE-2026-16055High
The Contest Gallery WordPress plugin before 30.0.7 does not route its front-end login through the standard WordPress authentication flow, issuing an authentication cookie directly after the password check, which bypasses installed brute-force-protection and two-factor-authentication. This enables unlimited, unthrottled password guessing against any account (including administrators) up to full account takeover.
- CVE-2026-16057Medium
The Contest Gallery WordPress plugin before version 30.0.7 fails to perform capability or nonce checks in one of its post-deletion handlers, relying only on a coarse role-membership test. This allows any Author-level or higher user to permanently delete arbitrary posts, pages, and other content they do not own.
- CVE-2026-65447High
A Cross Site Scripting (XSS) vulnerability in the Contest Gallery plugin for WordPress versions up to 30.0.6. An unauthenticated attacker can inject a malicious script.
- CVE-2026-42660Medium
Contest Gallery versions up to 28.1.7 have a vulnerability that allows for the exposure of subscriber sensitive data.
- CVE-2026-42657Medium
Contest Gallery versions up to 28.1.7 contain an unauthenticated vulnerability that may be exploited by attackers.
- CVE-2026-42656Medium
There is a Cross Site Scripting (XSS) vulnerability affecting subscribers in Contest Gallery versions up to 28.1.6.
- CVE-2025-62950Medium
The Contest Gallery plugin by ContestGallery developer contains a Cross-Site Request Forgery vulnerability in versions from n/a through 28.0.0. This vulnerability allows an attacker to leverage CSRF to perform unauthorized actions in the context of a logged-in administrator.
Original NVD description (English source)
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.
Vulnerability data from NVD (NIST) · CISA KEV · EPSS

