Skip to main content

Envira Gallery CVE-2026-104652

| EUVDEUVD-2026-94179 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-10-07 WPScan GHSA-8g3x-h6fx-23x5
6.8
CVSS 3.1 · Vendor: WPScan
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain Author-level account
  2. Delivery
    Craft gallery with malicious item identifier
  3. Exploit
    Inject script into image tag attribute
  4. Execution
    Admin/visitor views embedded gallery
  5. Persist
    Script executes in victim browser
  6. Impact
    Hijack 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

Envira Gallery 0 <1.16.1

Affected Packages

euvd envira_gallery fix: 1.16.1

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

Vendor (WPScan) PRIMARY 6.8 MEDIUM
AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H
vuln.today AI 5.4 MEDIUM

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.

3.1 AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N

Primary rating from Vendor (WPScan).

CVSS VectorVendor: WPScan

Attack Vector
Network
Attack Complexity
Low
Privileges Required
High
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

4
CVSS changed
Oct 07, 2026 - 10:22 NVD
6.8 (MEDIUM)
Patch available
Oct 07, 2026 - 08:16 EUVD
CVE Published
Oct 07, 2026 - 06:00 cve.org
UNKNOWN (no severity yet)
CVE Published
Oct 07, 2026 - 06:00 cve.org
MEDIUM 6.8

DescriptionCVE.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

EPSS Score
0.2%
Top 87% exploitable
Prevalence
Medium
popular WordPress gallery plugin, large but not universal install base
Exploit
POC
Public exploit code exists
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC Yes
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Total

Priority Score

54
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +34
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

CVE-2026-104680 HIGH POC
7.2 Oct 11

Envira Gallery WordPress plugin versions before 1.16.2 fail to verify the capability WordPress reserves for plugin insta

CVE-2026-104653 MEDIUM POC
6.8 Oct 07

Authenticated stored cross-site scripting in the Envira Gallery WordPress plugin before 1.16.1 allows users with Author

CVE-2022-2190 MEDIUM POC
6.1 Oct 31

The Gallery Plugin for WordPress plugin before 1.8.4.7 does not escape the $_SERVER['REQUEST_URI'] parameter before outp

CVE-2021-24126 MEDIUM POC
5.4 Mar 18

Unvalidated input and lack of output encoding in the Envira Gallery Lite WordPress plugin, versions before 1.8.3.3, did

CVE-2024-43925 HIGH
8.8 Nov 01

Missing Authorization vulnerability in Envira Gallery Team Envira Photo Gallery allows Exploiting Incorrectly Configured

CVE-2024-3899 MEDIUM POC
4.8 Sep 11

The Gallery Plugin for WordPress WordPress plugin before 1.8.15 does not sanitise and escape some of its image settings,

CVE-2026-104681 LOW POC
2.7 Oct 11

Authenticated information disclosure in the Envira Gallery WordPress plugin affects all versions before 1.16.2, allowing

CVE-2026-104684 LOW POC
2.7 Oct 11

Envira Gallery, a WordPress gallery plugin, fails to verify that a user is authorized to read a gallery before rendering

CVE-2026-104682 LOW POC
2.7 Oct 11

Envira Gallery before 1.16.2 contains a missing authorization flaw in its gallery-conversion feature, allowing an authen

CVE-2020-9334 MEDIUM
5.4 Feb 25

A stored XSS vulnerability exists in the Envira Photo Gallery plugin through 1.7.6 for WordPress. Rated medium severity

CVE-2026-104079 MEDIUM
5.3 Oct 09

Authenticated WordPress users holding only low-level permissions can create and publish Envira galleries they are not en

CVE-2023-6742 MEDIUM
4.3 Jan 11

The Gallery Plugin for WordPress - Envira Photo Gallery plugin for WordPress is vulnerable to unauthorized modification

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy