Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain WordPress Author-level credentials
-
DeliveryEdit gallery description field with JavaScript payload
-
ExploitPayload persisted in WordPress database
-
ExecutionVictim user browses page rendering affected gallery
-
PersistStored script executes in victim's browser
-
ImpactSteal session cookie or perform actions as victim
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 an active WordPress account with at minimum the Author role on the target WordPress installation - Editor, Administrator, and Super Admin roles are also sufficient. The target gallery must have a description field populated with attacker-controlled content, and at least one WordPress page or post must render that gallery with description display enabled via shortcode or block. The attack is limited to: (1) sites where untrusted or semi-trusted parties hold Author-level or higher WordPress roles; (2) galleries that have descriptions rendered on front-end pages accessible to other users. Sites where all Author-level and above accounts belong exclusively to trusted individuals face no realistic threat from external attackers. The CVSS PR:L confirms authenticated access is mandatory - unauthenticated exploitation is not possible. |
| Impact | The CVSS 3.1 score of 6.4 (AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N) is accurately representative. The Scope:Changed metric is the critical signal here - the attacker's payload crosses from the WordPress admin/editor context into arbitrary site visitors' browser sessions, enabling impacts beyond the attacker's own privilege level, including potential admin session hijacking if an administrator views the affected gallery. Attack Complexity:Low and User Interaction:None reflect that stored XSS fires passively on page load without requiring the victim to take a specific action. The primary limiting factor is PR:L - at minimum an Author-level WordPress account is required, which meaningfully constrains opportunistic exploitation to sites that grant this role to untrusted or semi-trusted users. No EPSS score was provided in source data, and the vulnerability is not listed in CISA KEV, so no confirmed active exploitation signal exists. Real-world priority should be elevated for multi-author WordPress sites (news, agencies, SaaS) where Author accounts may be held by external contributors, and deprioritized for single-author or tightly controlled installations. |
| Exploit ScenarioDerived | An attacker obtains or already holds a WordPress Author account on the target site - for example, through credential stuffing, a compromised contributor account, or a site that allows open registration with Author privileges. The attacker edits a gallery's description field, inserting a JavaScript payload such as a cookie-stealing script pointing to an attacker-controlled endpoint. When a site administrator or any logged-in user subsequently browses a page displaying that gallery, the script silently transmits their session cookie to the attacker, who can then replay it to gain full admin access to the WordPress installation. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 28, 2026
Stored Cross-Site Scripting in the Envira Gallery WordPress plugin (versions ≤1.12.4) permits authenticated attackers holding Author-level privileges or higher to inject persistent JavaScript payloads through the gallery description configuration field. The injected script executes in the browsers of any site visitor who loads a page rendering an affected gallery with its description enabled, enabling session hijacking, credential theft, or admin account takeover. No public exploit code or CISA KEV listing has been identified at time of analysis; a fix has been committed to the WordPress plugin repository trunk per changeset 3514026.
RemediationAI
Update Envira Gallery to the version immediately succeeding 1.12.4 - the fix has been committed to the plugin repository trunk via changeset 3514026, which applies proper output escaping to the gallery description rendering in shortcode.php. The Wordfence advisory at https://www.wordfence.com/threat-intel/vulnerabilities/id/17de5b96-7a61-4f37-a921-6a023cc40812 should be consulted for the confirmed released patched version number, as the exact tag beyond 1.12.4 was not independently confirmed from available input data. If immediate update is not feasible, the most effective compensating control is restricting WordPress Author-level role assignment strictly to fully trusted users - this eliminates the attack vector entirely without disabling plugin functionality. As a secondary mitigation, administrators can audit existing gallery descriptions for unexpected script tags or event handler attributes. Disabling gallery descriptions site-wide removes the exposed field but may impact legitimate content.
Affected VersionsENISA
Affected Packages
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
Envira Gallery Lite (vendor: smub) is a WordPress plugin implementing image, video, album, and slideshow galleries via shortcodes and a REST API. CWE-79 (Improper Neutralization of Input During Web Page Generation - Stored XSS) identifies the root cause: user-supplied input in the gallery description field is written to the database without adequate sanitization and later rendered to page visitors without sufficient output escaping. The vulnerable code paths are confirmed in two files: shortcode.php at line 807 (the rendering path that injects the description into page output) and rest.php at lines 192 and 239 (the REST API endpoints that accept and return gallery configuration, including the description). The CPE cpe:2.3:a:smub:envira_gallery_-_image_photo_gallery,_albums,_video_gallery,_slideshows_&_more:*:*:*:*:*:*:*:* covers all versions up to and including 1.12.4 across the lite variant. WordPress plugin trac changeset 3514026 modifies shortcode.php to address the escaping deficiency.
Know when Wordpress Plugin 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
AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
PR:L reflects mandatory Author-level account; S:C captures payload executing across the boundary into victim browsers; UI:N appropriate for stored XSS firing on passive page load.
Primary rating from Vendor (Wordfence).
CVSS VectorVendor: Wordfence
DescriptionCVE.org
The Envira Gallery plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the gallery 'description' configuration field in all versions up to, and including, 1.12.4 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with Author-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses a page displaying the gallery with a description enabled.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
More in Wordpress Plugin
View allThe Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
The Hash Form - Drag & Drop Form Builder plugin for WordPress is vulnerable to arbitrary file uploads due to missing fil
Authentication bypass in the LiteSpeed Cache WordPress plugin (versions prior to 6.5.0.1) allows unauthenticated remote
The Simple File List plugin for WordPress through version 4.2.2 contains an unauthenticated remote code execution vulner
The AI Engine WordPress plugin through version 3.1.3 exposes Bearer Token values through the /mcp/v1/ REST API endpoint
The SureTriggers WordPress plugin through version 1.0.82 contains a privilege escalation vulnerability that allows unaut
The Ninja Forms plugin before 2.9.42.1 for WordPress allows remote attackers to conduct PHP object injection attacks via
The Business Directory Plugin - Easy Listing Directories for WordPress plugin for WordPress is vulnerable to time-based
SQL injection in the NotificationX WordPress plugin (versions up to and including 2.8.2) allows unauthenticated remote a
The POST SMTP Mailer - Email log, Delivery Failure Notifications and Best Mail SMTP for WordPress plugin for WordPress i
The MasterStudy LMS WordPress Plugin - for Online Courses and Education plugin for WordPress is vulnerable to union base
The Email Subscribers by Icegram Express plugin for WordPress is vulnerable to SQL Injection via the ‘hash’ parameter in
EUVD-2026-67708
GHSA-rj2v-3ccg-83gv
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB