{"id":"CVE-2025-12849","aliases":["CVE-2025-12849"],"related":[],"kind":"vulnerability","state":"published","title":"Contest Gallery <= 28.0.2 - Missing Authorization","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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"El plugin Contest Gallery para WordPress es vulnerable a una omisión de autorización en todas las versiones hasta la 28.0.2, inclusive. Esto se debe a que el plugin registra la acción AJAX 'cg_check_wp_admin_upload_v10' para usuarios autenticados y no autenticados sin implementar comprobaciones de capacidad o verificación de nonce. Esto hace posible que atacantes no autenticados inyecten adjuntos de medios de WordPress arbitrarios en galerías y manipulen los metadatos de la galería a través de la acción 'cg_check_wp_admin_upload_v10'. No permite a un atacante mover o subir archivos.","source":"nvd"}],"published":"2025-11-15T06:41:31.470Z","modified":"2026-10-07T21:10:00.200Z","severity":{"scorer":"Wordfence","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","score":5.3,"rating":"MEDIUM"},"severities":[{"scorer":"Wordfence","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","score":5.3,"rating":"MEDIUM"}],"cwes":["CWE-862"],"affected":[{"ranges":[{"type":"semver","introduced":"0","lastAffected":"28.0.2","status":"affected"}],"vendor":"contest-gallery","product":"Contest Gallery – Upload & Vote Photos, Media, Sell with PayPal & Stripe","source":"cvelist"}],"references":[{"url":"https://www.wordfence.com/threat-intel/vulnerabilities/id/e000c4ad-43ec-4ad0-89f9-74e9e6d8b917?source=cve","tags":[],"sources":["cvelist","nvd"]},{"url":"https://plugins.trac.wordpress.org/browser/contest-gallery/tags/28.0.2/v10/include-functions-v10.php#L42","tags":[],"sources":["cvelist","nvd"]},{"url":"https://plugins.trac.wordpress.org/browser/contest-gallery/tags/28.0.2/v10/include-functions-v10.php#L47","tags":[],"sources":["cvelist","nvd"]},{"url":"https://plugins.trac.wordpress.org/browser/contest-gallery/tags/28.0.2/v10/include-functions-v10.php#L64","tags":[],"sources":["cvelist","nvd"]},{"url":"https://plugins.trac.wordpress.org/browser/contest-gallery/tags/28.0.2/v10/v10-admin/gallery/wp-uploader.php#L15","tags":[],"sources":["cvelist","nvd"]},{"url":"https://plugins.trac.wordpress.org/browser/contest-gallery/tags/28.0.2/v10/v10-admin/gallery/wp-uploader.php#L173","tags":[],"sources":["cvelist","nvd"]},{"url":"https://wordpress.org/plugins/contest-gallery/#developers","tags":[],"sources":["cvelist","nvd"]}],"credits":["M Indra Purnama"],"assigner":"Wordfence","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2025-11-17T19:01:28.652Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-12849","url":"https://www.cve.org/CVERecord?id=CVE-2025-12849","licence":"CVE Terms of Use","modified":"2026-04-08T17:28:36.066Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-12849","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-12849","licence":"Public domain","modified":"2026-10-07T21:10:00.200Z"}],"updatedAt":"2026-11-25T22:59:07.689Z","epss":{"score":0.0034,"percentile":0.29424,"date":"2026-12-01T12:00:22.000Z"}}