Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain Author-level WordPress account
-
DeliveryInject script into gallery display config value
-
ExploitPayload stored unescaped in image tag attribute
-
ExecutionAdmin or visitor loads affected gallery page
-
PersistScript executes in victim browser session
-
ImpactSession hijack or privileged admin action
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 | Requires an authenticated WordPress account with the Author role or higher on a site running Envira Gallery before 1.16.1; the attacker must create or edit a gallery and place a payload in a gallery display-configuration value that is rendered into an image tag attribute. Exploitation additionally requires a victim (any visitor or administrator) to subsequently view a front-end page containing the affected gallery (UI:R). Limiting factors: no unauthenticated path (low-privilege account still needed), dependence on victim page visit, and applicability only to sites that both run the vulnerable version and grant Author+ roles to untrusted users - single-administrator sites have minimal realistic exposure. |
| Impact | This is an authenticated stored Cross-Site Scripting flaw (CWE-79) in the Envira Gallery WordPress plugin. The supplied CVSS 3.1 vector (6.8, AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H) is internally inconsistent with the description: it sets PR:H (high privilege) yet the description states exploitation requires only the Author role 'and above', which maps more naturally to PR:L, and it rates C:H/I:H/A:H with S:U (unchanged scope) despite the payload executing in a different security context (the visitor/administrator browser), which for stored XSS normally yields S:C with Low confidentiality/integrity impact. In short, the vendor-supplied vector appears inflated on impact while possibly overstating the privilege requirement - treat the 6.8 as a rough indicator, not a precise rating. On real-world signals: POC/exploit code is publicly available (per WPScan), but the vulnerability is NOT in CISA KEV and no active-exploitation evidence is provided; EPSS is not supplied. The net picture is a genuinely exploitable, publicly-documented stored XSS that requires an authenticated contributor-level account and a victim visiting the affected gallery page - a credible privilege-escalation/account-takeover vector on multi-author sites, but not an unauthenticated internet-wide mass-exploitation risk. Prioritize patching on sites with untrusted Author/Editor users; lower urgency on single-admin sites where no low-privilege accounts exist. |
| Exploit ScenarioDerived | An attacker who has (or obtains) an Author-role account on a WordPress site running Envira Gallery < 1.16.1 creates or edits a gallery and injects a malicious script into a display-configuration value that is rendered unescaped inside an image tag attribute. When an administrator or any visitor later views a page containing that gallery, the script executes in their browser session, enabling session/cookie theft or admin actions. Public exploit code for this issue is available via WPScan, lowering the barrier to exploitation. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 07, 2026
Authenticated stored cross-site scripting in the Envira Gallery WordPress plugin before 1.16.1 allows users with Author role or higher to inject arbitrary web scripts through unsanitized gallery display configuration values, which are stored and later rendered into an image tag attribute. The injected script executes when any visitor, including an administrator, views a page containing the affected gallery; exploitation requires an authenticated low-privilege account and a victim page view. Publicly available exploit code exists, but no CISA KEV active-exploitation flag is provided; the independent assessment rates it as requiring Author+ access with user interaction and limited confidentiality/integrity impact.
RemediationAI
Upgrade Envira Gallery to version 1.16.1 or later (Vendor-released patch: 1.16.1) and verify the plugin version in WordPress. If immediate upgrade is not possible, disable the Envira Gallery plugin, which removes the attack path but eliminates gallery functionality; alternatively restrict gallery creation/editing to trusted Administrator-level users and remove Author or higher capabilities from untrusted accounts, understanding this changes editorial workflow. Review existing galleries for suspicious display-configuration values and remove any injected payloads, and consider a WAF rule targeting script payloads in image attributes as a temporary compensating control with possible false positives. See the WPScan advisory at https://wpscan.com/vulnerability/6fba4124-edb1-4363-8ad9-4aa77e1b3890/.
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
The flaw is a stored CWE-79 cross-site scripting issue in Envira Gallery, a WordPress gallery plugin. User-supplied gallery display configuration values are not sanitized or escaped before storage and are output inside an image tag attribute. According to the independent assessment, the vector CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N confirms network exploitable, low privileges required (authenticated Author+), user interaction required, and scope changed; this is not unauthenticated. The affected CPE cpe:2.3:a:unknown:envira_gallery:*:*:*:*:*:*:*:* and EUVD range 0 <1.16.1 identify vulnerable versions. Root cause is improper neutralization of input during web page generation, allowing script injection into an attribute context.
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 role maps to PR:L not PR:H; script runs in a different context (S:C) with typical stored-XSS Low C/I and no availability impact; victim page view gives UI:R.
Primary rating from Vendor (WPScan).
CVSS VectorVendor: WPScan
Lifecycle Timeline
4DescriptionCVE.org
The Envira Gallery WordPress plugin before 1.16.1 does not sanitise or escape user-supplied gallery display configuration values before storing them and outputting them 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 containing the affected 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
Stored cross-site scripting (XSS) in Envira Gallery WordPress plugin before 1.16.1 allows an authenticated user with Aut
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-94180
GHSA-2475-cpcf-ghxx
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB