CVE-2026-140995 in Contest Gallery Plugininfo

Summary

by MITRE • 12/05/2026

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Wasiliy Strecker Contest Gallery contest-gallery allows Reflected XSS.This issue affects Contest Gallery: from n/a before 34.0.6.

Be aware that VulDB is the high quality source for vulnerability data.

Analysis

by VulDB Data Team • 12/06/2026

The identified security flaw represents a classic instance of Improper Neutralization of Input During Web Page Generation, commonly known as Cross-Site Scripting or XSS. Specifically, this vulnerability manifests as a Reflected XSS within the Wasiliy Strecker Contest Gallery plugin for WordPress, affecting versions prior to 34.0.6. In a reflected cross-site scripting attack, malicious script code is embedded directly into HTTP requests and then immediately returned by the web application in an error message or search result page without proper sanitization. This differs from stored XSS where the payload is saved on the server; here, the exploitation relies heavily on social engineering to trick users into clicking a crafted link containing the malicious payload.

From a technical perspective, the vulnerability arises because the plugin fails to adequately validate and escape user-supplied input before incorporating it into the HTML output generated by the web page. When an attacker constructs a URL with specific parameters designed to inject JavaScript code, the server processes this input and reflects it back in the response body. Because the browser interprets the content as executable script rather than plain text, any scripts embedded within are executed in the context of the victim's session. This lack of proper encoding or filtering allows attackers to bypass standard security controls that rely on distinguishing between data and code during rendering.

The operational impact of this vulnerability is significant for both end-users and site administrators. Successful exploitation enables an attacker to execute arbitrary JavaScript commands in the browser of any user who visits a maliciously crafted link while logged into the WordPress environment. This can lead to session hijacking, where the attacker steals authentication cookies or tokens to impersonate the victim. It also facilitates credential theft through fake login forms injected via DOM manipulation, defacement of the website's appearance by altering HTML content, and redirection of users to phishing sites. Furthermore, attackers may use this vector to perform actions on behalf of the user if they have administrative privileges, potentially leading to full compromise of the WordPress installation.

This vulnerability aligns with CWE-79, which defines Improper Neutralization of Script-Related HTML Tags in a Web Page, and maps directly to MITRE ATT&CK technique T1059.007, specifically JavaScript Execution under Client-Side Proxy. The attack vector is classified as Network-based but requires user interaction, placing it at Medium complexity for exploitation according to standard vulnerability scoring methodologies. To mitigate this risk, immediate action must be taken by upgrading the Contest Gallery plugin to version 34.0.6 or later, where these input validation issues have been addressed. Additionally, implementing a Web Application Firewall can provide an additional layer of defense by filtering out malicious payloads in HTTP requests before they reach the application logic. Developers should also ensure that all future inputs are strictly validated against expected formats and that output is properly encoded using context-aware escaping techniques to prevent similar injection flaws.

Responsible

Patchstack

Reservation

12/01/2026

Disclosure

12/05/2026

Moderation

accepted

CPE

ready

EPSS

0.00000

KEV

no

Activities

very low

Sources

Want to know what is going to be exploited?

We predict KEV entries!