Vulnerabilities / Contest Gallery / WPSEC-2026-1269

Contest Gallery <= 34.0.1 - Unauthenticated Stored Cross-Site Scripting via Gallery Entry Attachment Title and Caption

High 7.2 CWE-79Fixed in 34.0.2
ID
WPSEC-2026-1269
Plugin
Contest Gallery – Upload & Vote Photos, Media, Sell with PayPal & Stripe (contest-gallery)
Affected
all versions before 34.0.2
Remediation
Update to 34.0.2 or later.
CVSS 3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
Weakness
CWE-79
Usage
Plugin Low · Affected versions None seen among sites WPSec scans, 2026-10-20
Attack surface
Contest Gallery on WPSec AttackSurface
Fix released
Published

Description

The Contest Gallery plugin for WordPress is vulnerable to Stored Cross-Site Scripting via gallery entry attachment fields (title, caption/excerpt, description and the additional-files data) in all versions up to, and including, 34.0.1, due to insufficient output escaping when these values are printed into single-quoted HTML attributes of the backend gallery entries view. This makes it possible for unauthenticated attackers, where a gallery's upload form accepts submissions from visitors, to inject arbitrary web scripts (for example through the title or caption metadata embedded in an uploaded image) that execute when an administrator views the gallery entries in the admin area.

References

Published by WPSec. Provided as is, without warranty. Corrections: contact us.

This advisory as JSON or Markdown · All advisories: JSON, RSS

License: CC BY 4.0