Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-1236: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in smub Envira Gallery – Image Photo Gallery, Albums, Video Gallery, Slideshows & More

0
Medium
VulnerabilityCVE-2026-1236cvecve-2026-1236cwe-79
Published: Wed Mar 04 2026 (03/04/2026, 08:23:56 UTC)
Source: CVE Database V5
Vendor/Project: smub
Product: Envira Gallery – Image Photo Gallery, Albums, Video Gallery, Slideshows & More

Description

CVE-2026-1236 is a stored cross-site scripting (XSS) vulnerability in the Envira Gallery WordPress plugin affecting all versions up to 1. 12. 3. The flaw exists due to improper input sanitization and output escaping of the 'justified_gallery_theme' parameter, allowing authenticated users with Author-level privileges or higher to inject malicious scripts. These scripts execute when any user views the compromised page, potentially leading to session hijacking, privilege escalation, or unauthorized actions. The vulnerability has a CVSS score of 6. 4 (medium severity) and does not require user interaction but does require authenticated access. No known public exploits are reported yet, and no patches have been linked at this time. Organizations using Envira Gallery should prioritize updating or mitigating this vulnerability to prevent exploitation. The threat primarily affects WordPress sites globally, especially those with multiple authors or contributors.

AI-Powered Analysis

AILast updated: 03/04/2026, 08:48:04 UTC

Technical Analysis

CVE-2026-1236 is a stored cross-site scripting (XSS) vulnerability identified in the Envira Gallery plugin for WordPress, a popular tool used to create image galleries, albums, video galleries, and slideshows. The vulnerability arises from improper neutralization of input during web page generation, specifically involving the 'justified_gallery_theme' parameter. In all versions up to and including 1.12.3, the plugin fails to adequately sanitize and escape this parameter, allowing authenticated users with Author-level access or higher to inject arbitrary JavaScript code. Because this is a stored XSS, the malicious script is saved on the server and executed in the browsers of any users who visit the affected pages, potentially compromising their sessions or enabling further attacks such as privilege escalation or data theft. The vulnerability requires no user interaction but does require the attacker to have authenticated access with at least Author privileges, which is a moderate barrier but common in multi-user WordPress environments. The CVSS 3.1 score of 6.4 reflects a medium severity, considering the network attack vector, low complexity, and privileges required. The scope is changed because the vulnerability affects other users beyond the attacker. No public exploits have been reported yet, and no official patches are linked, indicating that remediation may require vendor updates or manual mitigation. This vulnerability highlights the risks of insufficient input validation in widely used WordPress plugins and the importance of strict privilege management.

Potential Impact

The impact of CVE-2026-1236 is significant for organizations running WordPress sites with the Envira Gallery plugin installed, especially those that allow multiple users with Author or higher privileges. Exploitation can lead to the injection of malicious scripts that execute in the context of other users' browsers, potentially resulting in session hijacking, theft of authentication tokens, unauthorized actions performed on behalf of users, and defacement or redirection of site content. This can undermine user trust, lead to data breaches, and damage organizational reputation. Since WordPress powers a large portion of websites globally, including corporate, governmental, and e-commerce sites, the vulnerability poses a broad risk. The requirement for authenticated access limits exploitation to insiders or compromised accounts, but in environments with many contributors, this risk is non-trivial. The vulnerability does not impact availability directly but compromises confidentiality and integrity. Without timely mitigation, attackers could leverage this flaw to pivot to further attacks within the affected environment.

Mitigation Recommendations

To mitigate CVE-2026-1236, organizations should first verify if they are using the Envira Gallery plugin version 1.12.3 or earlier and plan to update to a patched version once available. Until a patch is released, restrict Author-level and higher privileges to trusted users only, minimizing the risk of malicious script injection. Implement web application firewalls (WAFs) with rules designed to detect and block suspicious input patterns related to the 'justified_gallery_theme' parameter. Conduct regular security audits and content reviews to identify and remove any injected scripts. Employ Content Security Policy (CSP) headers to limit the execution of unauthorized scripts in browsers. Additionally, monitor logs for unusual activity from authenticated users and educate site administrators about the risks of privilege misuse. Consider disabling or replacing the plugin if immediate patching is not feasible. Finally, ensure that WordPress core and all plugins are kept up to date to reduce exposure to similar vulnerabilities.

Need more detailed analysis?Upgrade to Pro Console

Technical Details

Data Version
5.2
Assigner Short Name
Wordfence
Date Reserved
2026-01-20T16:37:15.337Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 69a7ee50d1a09e29cb1a949b

Added to database: 3/4/2026, 8:33:20 AM

Last enriched: 3/4/2026, 8:48:04 AM

Last updated: 3/4/2026, 9:41:09 AM

Views: 5

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console in Console -> Billing for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses