Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain Author-level account
-
DeliveryCraft gallery with malicious item identifier
-
ExploitInject script into image tag attribute
-
ExecutionAdmin/visitor views embedded gallery
-
PersistScript executes in victim browser
-
ImpactHijack session / escalate privileges
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 authenticated account with the WordPress 'Author' role or higher on the target site (not anonymous access), plus the ability to create or edit a gallery so that the attacker-controlled gallery item identifier is stored. The payload only fires when a second user - an administrator or any visitor - loads a page that embeds the affected gallery (UI:R / victim interaction required). Limiting factors: the site must allow Author-level (or higher) self-registration or the attacker must already possess such credentials; exploitation is ineffective until a victim views the embedded gallery; sites on 1.16.1 or later are not affected. |
| Impact | This is a stored (persistent) cross-site scripting flaw (CWE-79) in the Envira Gallery WordPress plugin, rated CVSS 6.8 (Medium) in the input. The provided CVSS vector (AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H) is internally inconsistent with the description and should be treated with caution: the description states exploitation requires only the 'Author' role, which is a LOW-privilege authenticated role, so PR:H in the input vector appears overstated - PR:L is the defensible value. Likewise C:H/I:H/A:H with S:U is atypical for a stored XSS; a scope change (S:C) with limited (L) confidentiality/integrity impact better reflects script execution in another user's browser context. A public exploit exists (reported by WPScan), which raises practical risk, but the vulnerability is NOT in CISA KEV and no EPSS score was provided, so there is no evidence of widespread automated exploitation - treat this as 'exploit code available but not confirmed actively exploited.' Net assessment: a credible, patchable medium-severity issue whose real danger is privilege escalation via admin-session hijack (an Author causing script to run in an administrator's browser), bounded by the need for an existing authenticated Author account and for a victim to view the embedded gallery. |
| Exploit ScenarioDerived | An attacker who already holds (or has obtained) an Author-level account on a WordPress site creates or edits a gallery, injecting a malicious script into the unsanitised gallery item identifier that is reflected into an image tag attribute. When an administrator or any visitor later views a page embedding that gallery, the script executes in their browser session, enabling session/cookie theft or admin actions. A public proof-of-concept is available via WPScan, lowering the effort required to reproduce the attack. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 07, 2026
Stored cross-site scripting (XSS) in Envira Gallery WordPress plugin before 1.16.1 allows an authenticated user with Author role or higher to store a malicious gallery item identifier that is output unsanitized in an image tag attribute, causing script execution when any visitor, including an administrator, views a page embedding the gallery. Publicly available exploit code exists for this issue, but it is not listed in CISA KEV in the provided data; the vendor has released a patch in version 1.16.1. The input rates this CVSS 6.8 (Medium), while the independent assessment vector is AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N.
RemediationAI
Update Envira Gallery to version 1.16.1 or later; this is the vendor-released patch and the version boundary in the affected-version data, and it addresses the stored XSS by sanitizing and escaping the gallery item identifier. If immediate patching is not possible, temporary mitigations include deactivating the Envira Gallery plugin (trade-off: all gallery functionality is unavailable), restricting gallery creation and editing capabilities to fully trusted users by removing gallery-related permissions from Author and Contributor roles (trade-off: editorial workflow disruption), and disabling or tightly controlling public self-registration so untrusted users cannot obtain Author-level access (trade-off: reduced community contribution). Review and remove suspicious gallery items or affected embedded galleries until the patch is applied (trade-off: may break legitimate gallery displays). Consult the WPScan advisory at https://wpscan.com/vulnerability/bbeb86c6-201e-4d43-9290-ee75f8c0e296/ for vendor and researcher updates.
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 is a WordPress plugin used to build and embed image galleries, and the affected CPE cpe:2.3:a:unknown:envira_gallery:*:*:*:*:*:*:*:* maps to installations before 1.16.1. The root cause is CWE-79 (improper neutralization of input during web page generation, or cross-site scripting): the plugin fails to sanitize and escape a gallery item identifier before placing it into an image tag attribute. Because the flaw is stored, the payload persists in gallery content and executes in the browser of a later viewer. The independent assessment specifies an authenticated attacker with the WordPress Author role or higher (PR:L), plus victim interaction when a page embedding the gallery is loaded (UI:R), with limited confidentiality and integrity impact rather than high impact across all categories. WPScan reported the issue, and the provided reference points to a WPScan vulnerability page.
Know when Envira 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
AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H
Author is a low-privilege authenticated role (PR:L, not PR:H); a victim must view the gallery (UI:R); stored script executes in another user's context (S:C) with limited C/I impact and no availability effect.
Primary rating from Vendor (WPScan).
CVSS VectorVendor: WPScan
Lifecycle Timeline
4DescriptionCVE.org
The Envira Gallery WordPress plugin before 1.16.1 does not sanitise and escape a gallery item identifier before outputting it in an image tag attribute, allowing users with the Author role and above to inject arbitrary web scripts that execute when any visitor, including an administrator, views a page embedding the gallery.
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 Envira Gallery
View allEnvira Gallery WordPress plugin versions before 1.16.2 fail to verify the capability WordPress reserves for plugin insta
Authenticated stored cross-site scripting in the Envira Gallery WordPress plugin before 1.16.1 allows users with Author
The Gallery Plugin for WordPress plugin before 1.8.4.7 does not escape the $_SERVER['REQUEST_URI'] parameter before outp
Unvalidated input and lack of output encoding in the Envira Gallery Lite WordPress plugin, versions before 1.8.3.3, did
Missing Authorization vulnerability in Envira Gallery Team Envira Photo Gallery allows Exploiting Incorrectly Configured
The Gallery Plugin for WordPress WordPress plugin before 1.8.15 does not sanitise and escape some of its image settings,
Authenticated information disclosure in the Envira Gallery WordPress plugin affects all versions before 1.16.2, allowing
Envira Gallery, a WordPress gallery plugin, fails to verify that a user is authorized to read a gallery before rendering
Envira Gallery before 1.16.2 contains a missing authorization flaw in its gallery-conversion feature, allowing an authen
A stored XSS vulnerability exists in the Envira Photo Gallery plugin through 1.7.6 for WordPress. Rated medium severity
Authenticated WordPress users holding only low-level permissions can create and publish Envira galleries they are not en
The Gallery Plugin for WordPress - Envira Photo Gallery plugin for WordPress is vulnerable to unauthorized modification
EUVD-2026-94179
GHSA-8g3x-h6fx-23x5
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB