Home

Description

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.

PUBLISHED Reserved 2025-11-06 | Published 2025-11-15 | Updated 2025-11-17 | Assigner Wordfence




MEDIUM: 5.3CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

Problem types

CWE-862 Missing Authorization

Product status

Default status
unaffected

* (semver)
affected

Timeline

2025-11-06:Vendor Notified
2025-11-14:Disclosed

Credits

M Indra Purnama finder

References

www.wordfence.com/...-43ec-4ad0-89f9-74e9e6d8b917?source=cve

plugins.trac.wordpress.org/.../v10/include-functions-v10.php

plugins.trac.wordpress.org/.../v10/include-functions-v10.php

plugins.trac.wordpress.org/.../v10/include-functions-v10.php

plugins.trac.wordpress.org/...-admin/gallery/wp-uploader.php

plugins.trac.wordpress.org/...-admin/gallery/wp-uploader.php

wordpress.org/plugins/contest-gallery/

cve.org (CVE-2025-12849)

nvd.nist.gov (CVE-2025-12849)

Download JSON