CVE-2025-3862
MEDIUM
5.4
CVSS 3.1
Description
Contest Gallery plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the ‘id’ parameter in all versions up to, and including, 26.0.6 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with Contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
Affected WordPress components
-
Contest Gallery – Upload & Vote Photos, Media, Sell with PayPal & Stripe Plugin · contest-galleryUp to and including 26.0.6View on WordPress.org
A confirmed match is backed by the plugin or theme slug. A possible match is based on the product name only and should be verified.
Affected products and versions
- contest-gallery Contest Gallery – Upload & Vote Photos, Media, Sell with PayPal & Stripe — Up to and including 26.0.6
- contest-gallery contest_gallery — Before 26.0.7
References
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/contest-gallery/tags/26.0.5/shortcodes/cg_entry_on_off.php#L20 Product
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/contest-gallery/tags/26.0.7/shortcodes/cg_entry_on_off.php#L20 Product
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/changeset/3288915 Patch
- wordpress.org https://wordpress.org/plugins/contest-gallery/#developers Product
- www.contest-gallery.com https://www.contest-gallery.com/documentation/ Product
- www.wordfence.com https://www.wordfence.com/threat-intel/vulnerabilities/id/a1b043a1-7bee-4ef0-86d9-19cf202cfc71?source=cve Third Party Advisory
- nvd.nist.gov Official NVD record