Skip to main content

Contest Gallery EUVDEUVD-2026-36821

| CVE-2026-42656 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-06-15 Patchstack GHSA-x3gw-fxqf-c5pw
6.5
CVSS 3.1 · Vendor: Patchstack
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Register subscriber account on target site
  2. Delivery
    Submit XSS payload via Contest Gallery plugin form
  3. Exploit
    Payload stored server-side
  4. Execution
    Administrator views contest submissions or affected page
  5. Persist
    Malicious script executes in admin browser
  6. Impact
    Steal admin session or perform privileged actions

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires a valid subscriber-level WordPress account on the target site - meaning either open user registration is enabled (common for contest sites), or the attacker has obtained credentials through other means. The victim (typically a WordPress administrator or editor) must subsequently view the page or admin interface where the injected payload has been stored (UI:R). The target site must be running Contest Gallery plugin version 28.1.6 or earlier. Exploitation is limited by the need for subscriber registration access and the requirement for admin interaction with poisoned content; sites that disable user registration or restrict Contest Gallery form submissions to already-vetted users significantly reduce their exposure.

Impact

The CVSS 3.1 base score of 6.5 (AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:L) reflects a medium-severity finding, with meaningful real-world implications given the attack's low complexity and the ubiquity of WordPress subscriber registration. PR:L confirms exploitation requires a subscriber account, limiting purely opportunistic attacks - but open registration is common on contest sites. UI:R indicates a victim (likely an admin) must view the injected content, introducing a dependency but also enabling targeted phishing-style escalation scenarios. S:C elevates the effective risk beyond the raw score: compromise of an administrator's session can lead to full site takeover. No EPSS data was provided, no CISA KEV listing exists, and no confirmed public exploit code has been identified, so this should be treated as a high-priority patch-and-monitor issue rather than an emergency incident response trigger. The A:L metric in the vendor-supplied CVSS vector is atypical for XSS and is not independently supported by the description; availability impact is likely overstated.

Exploit ScenarioDerived

An attacker registers a free subscriber account on a WordPress site running Contest Gallery <= 28.1.6, then submits a contest entry or fills a plugin-controlled form field containing a crafted JavaScript payload. When a site administrator reviews contest submissions or navigates to an affected admin panel page, the stored script executes silently in the administrator's browser, potentially exfiltrating the admin session cookie or performing privileged actions on the attacker's behalf. No public proof-of-concept code has been identified, but the low technical complexity of stored XSS exploitation means this scenario is feasible for moderately skilled attackers.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jun 15, 2026

Cross-site scripting in the Contest Gallery WordPress plugin (versions <= 28.1.6) can be triggered by a subscriber-level authenticated user, injecting malicious scripts that execute in the browsers of higher-privileged users such as administrators. The CVSS Scope:Changed metric confirms the payload escapes the subscriber's privilege boundary and impacts other user sessions. No public exploit code or CISA KEV listing has been identified at time of analysis, but the low attack complexity and broad WordPress ecosystem deployment surface make this a meaningful risk for any site accepting subscriber registrations.

RemediationAI

Upstream fix availability has not been independently confirmed from the provided data - no exact patched version number is specified in the Patchstack advisory reference or EUVD entry. WordPress administrators should immediately check the official WordPress plugin repository and the Patchstack advisory (https://patchstack.com/database/wordpress/plugin/contest-gallery/vulnerability/wordpress-contest-gallery-plugin-28-1-6-cross-site-scripting-xss-vulnerability) for a released update beyond version 28.1.6 and apply it as soon as one is available. As a compensating control while awaiting a patch, restrict or disable open subscriber registration on the affected WordPress site via Settings > General > uncheck 'Anyone can register' - this eliminates the PR:L attack surface but may disrupt contest participation workflows. Additionally, deploying a web application firewall (WAF) rule targeting XSS payloads in plugin-specific endpoints can reduce exposure. Audit existing subscriber accounts for unexpected registrations. Do not rely solely on WAF mitigation if subscriber registration must remain open.

Affected VersionsENISA

Contest Gallery n/a ≤28.1.6

Affected Packages

euvd contest_gallery no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Contest Gallery is a WordPress plugin developed by Wasiliy Strecker (CPE: cpe:2.3:a:wasiliy_strecker:contest_gallery:*:*:*:*:*:*:*:*) that enables photo contest functionality on WordPress sites. CWE-79 (Improper Neutralization of Input During Web Page Generation) identifies the root cause as insufficient output encoding or input sanitization of subscriber-controlled data before it is rendered in HTML pages. In the WordPress privilege model, the 'Subscriber' role is the lowest authenticated role, capable of reading content and managing their own profile - meaning any registered user can trigger this flaw. The CVSS vector's S:C (Scope Changed) component indicates stored XSS behavior: the injected payload persists server-side and executes in the browser context of other users, most dangerously site administrators, allowing privilege escalation or session hijacking without requiring direct exploitation of admin credentials.

Know when Contest Gallery gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (Patchstack) PRIMARY 6.5 MEDIUM
AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:L
vuln.today AI 5.4 MEDIUM

Subscriber account required (PR:L); admin must view payload (UI:R); scope changes to admin session; no availability impact justified by XSS description.

3.1 AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N

Primary rating from Vendor (Patchstack).

CVSS VectorVendor: Patchstack

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
Low

DescriptionCVE.org

Subscriber Cross Site Scripting (XSS) in Contest Gallery <= 28.1.6 versions.

Threat Intelligence Overview

EPSS Score
0.2%
Top 89% exploitable
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

32
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +32
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

CVE-2021-24915 CRITICAL POC
9.8 Nov 29

The Contest Gallery WordPress plugin before 13.1.0.6 does not have capability checks and does not sanitise or escape the

CVE-2024-43283 MEDIUM POC
5.3 Aug 26

Insertion of Sensitive Information Into Sent Data vulnerability in Wasiliy Strecker / ContestGallery developer Contest G

CVE-2026-16055 HIGH POC
7.5 Aug 05

Contest Gallery WordPress plugin before version 30.0.7 implements a custom front-end login mechanism that issues authent

CVE-2022-4158 HIGH POC
7.5 Dec 26

The Contest Gallery WordPress plugin before 19.1.5.1, Contest Gallery Pro WordPress plugin before 19.1.5.1 do not escape

CVE-2022-4156 HIGH POC
7.5 Dec 26

The Contest Gallery WordPress plugin before 19.1.5.1, Contest Gallery Pro WordPress plugin before 19.1.5.1 do not escape

CVE-2026-16057 MEDIUM POC
6.5 Aug 03

Post-deletion authorization bypass in the Contest Gallery WordPress plugin before 30.0.7 allows any authenticated Author

CVE-2022-4166 MEDIUM POC
6.5 Dec 26

The Contest Gallery WordPress plugin before 19.1.5.1, Contest Gallery Pro WordPress plugin before 19.1.5.1 do not escape

CVE-2022-4165 MEDIUM POC
6.5 Dec 26

The Contest Gallery WordPress plugin before 19.1.5.1, Contest Gallery Pro WordPress plugin before 19.1.5.1 do not escape

CVE-2022-4164 MEDIUM POC
6.5 Dec 26

The Contest Gallery WordPress plugin before 19.1.5.1, Contest Gallery Pro WordPress plugin before 19.1.5.1 do not escape

CVE-2022-4163 MEDIUM POC
6.5 Dec 26

The Contest Gallery WordPress plugin before 19.1.5.1, Contest Gallery Pro WordPress plugin before 19.1.5.1 do not escape

CVE-2022-4162 MEDIUM POC
6.5 Dec 26

The Contest Gallery WordPress plugin before 19.1.5.1, Contest Gallery Pro WordPress plugin before 19.1.5.1 do not escape

CVE-2022-4161 MEDIUM POC
6.5 Dec 26

The Contest Gallery WordPress plugin before 19.1.5.1, Contest Gallery Pro WordPress plugin before 19.1.5.1 do not escape

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy