VYPR
Medium severity6.5NVD Advisory· Published Jun 15, 2026· Updated Jun 15, 2026

CVE-2026-42656

CVE-2026-42656

Description

Subscriber-level stored XSS in Contest Gallery ≤ 28.1.6 allows attackers to inject malicious scripts executed when other users visit the site.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

Subscriber-level stored XSS in Contest Gallery ≤ 28.1.6 allows attackers to inject malicious scripts executed when other users visit the site.

Vulnerability

The Contest Gallery plugin for WordPress versions up to and including 28.1.6 is vulnerable to stored cross-site scripting (XSS). A subscriber-level user can inject arbitrary JavaScript into the page through a vulnerable parameter. The injected script is stored and executed when other users, including site visitors and administrators, access the affected page. [1]

Exploitation

An attacker must have a subscriber account on the WordPress site. The attacker submits a crafted payload (e.g., ``) via a form field or other input that is not properly sanitized. The payload is stored on the server. When a privileged user (such as an admin) or any other visitor loads the affected page, the script executes. User interaction from the target (e.g., visiting the page) is required for the exploit to succeed. [1]

Impact

Successful exploitation allows the attacker to execute arbitrary JavaScript in the context of the victim's browser. This can be used to redirect visitors to malicious sites, display advertisements, steal session cookies, or perform other actions that compromise the confidentiality and integrity of the site and its users. The attacker does not gain elevated privileges on the server, but can perform actions as the victim user. [1]

Mitigation

The vulnerability is fixed in Contest Gallery version 29.0.0 and later. Users should update immediately. If unable to update, a mitigation rule from Patchstack can be applied to block attacks until the patch is installed. No other workarounds are disclosed in the available references. [1]

AI Insight generated on Jun 15, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.

Affected products

1

Patches

0

No patches discovered yet.

Vulnerability mechanics

No source-code context for this CVE — mechanics is only generated when we can read the actual fix diff. Without that, the four sections (root cause, attack vector, affected code, fix) would be speculation rather than analysis.

References

1

News mentions

0

No linked articles in our index yet.