Skip to main content

Envira Gallery CVE-2026-104653

| EUVDEUVD-2026-94180 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-10-07 WPScan GHSA-2475-cpcf-ghxx
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 WordPress account
  2. Delivery
    Inject script into gallery display config value
  3. Exploit
    Payload stored unescaped in image tag attribute
  4. Execution
    Admin or visitor loads affected gallery page
  5. Persist
    Script executes in victim browser session
  6. Impact
    Session 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.

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

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

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

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

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

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

EPSS Score
0.2%
Top 87% exploitable
Prevalence
Medium
popular WordPress gallery plugin, widely installed but not ubiquitous
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-104652 MEDIUM POC
6.8 Oct 07

Stored cross-site scripting (XSS) in Envira Gallery WordPress plugin before 1.16.1 allows an authenticated user with Aut

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