Skip to main content

Easy Image Gallery CVE-2026-4766

| EUVDEUVD-2026-15181 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-03-25 Wordfence
6.4
CVSS 3.1 · NVD
View

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.

Impact

The CVSS 3.1 score of 6.4 reflects a Medium-to-High severity with important nuances. The attack vector is Network (AV:N) with Low complexity (AC:L), but critically requires Low privilege (PR:L), meaning only authenticated users with Contributor role or above can exploit it. The scope is Changed (S:C), indicating impact beyond the vulnerable component, with Confidentiality and Integrity impacts (C:L, I:L) but no Availability impact (A:N). This is a real priority for WordPress multiuser environments and sites with multiple content creators. The stored nature of the XSS means exploitation is automatic once injected—any user visiting the page triggers the malicious script without additional user interaction. However, the requirement for authenticated access with at least Contributor privileges significantly reduces the overall exploitability compared to unauthenticated XSS vulnerabilities. No public EPSS score or active exploitation in the wild has been reported at the time of analysis, but the straightforward nature of the vulnerability and availability of source code in the public WordPress plugin repository suggests proof-of-concept development is feasible. From an SSVC perspective, this represents a real but bounded risk: exploitation is possible (POST) and automatable via plugin installation, but impact is limited to XSS rather than remote code execution, and it requires trusted insider access.

Exploit ScenarioDerived

An attacker with a Contributor account on a WordPress site hosting the Easy Image Gallery plugin crafts a malicious gallery shortcode containing JavaScript payload and injects it into the Gallery shortcode post meta field of a published page or post. When site administrators or other users view the compromised page, the stored XSS payload executes in their browsers, allowing the attacker to steal admin session cookies, create new administrative accounts, deface content, or redirect users to malware-hosting sites. Since the vulnerability exists in stored post metadata, the attack persists until the post is manually cleaned or the plugin is updated, affecting all subsequent page visitors.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.0% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Mar 25, 2026

The Easy Image Gallery plugin for WordPress contains a Stored Cross-Site Scripting (XSS) vulnerability in the Gallery shortcode post meta field that affects all versions up to and including 1.5.3. Authenticated attackers with Contributor-level access or higher can inject arbitrary JavaScript that executes in the browsers of users viewing the affected pages, potentially compromising user sessions, stealing credentials, or performing actions on behalf of legitimate users. The vulnerability stems from insufficient input sanitization and output escaping in the shortcode handler, as documented in the WordPress plugin repository source code.

RemediationAI

Website administrators should immediately upgrade the Easy Image Gallery plugin to a patched version beyond 1.5.3 if available from the plugin developer, or disable and remove the plugin if no patch is available. Until an update is released, restrict user roles with content creation capabilities to only those who are fully trusted, and audit all existing gallery shortcode post metadata for any suspicious or encoded content that may indicate prior exploitation. Implement additional WordPress security hardening by enabling a Web Application Firewall (WAF) with XSS filtering rules, deploying a Content Security Policy (CSP) header to restrict inline script execution, and regularly reviewing WordPress user accounts and permissions to minimize the number of accounts with Contributor or higher privileges. Detailed remediation guidance and vulnerability tracking can be found at https://www.wordfence.com/threat-intel/vulnerabilities/id/e7279f74-c2bd-4601-b8d5-0effe43705a5.

Affected VersionsENISA

Easy Image Gallery * ≤1.5.3

Affected Packages

euvd easy_image_gallery no fix

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

This vulnerability is classified as CWE-79 (Improper Neutralization of Input During Web Page Generation, also known as Cross-site Scripting). The Easy Image Gallery plugin (CPE: cpe:2.3:a:devrix:easy_image_gallery:*:*:*:*:*:*:*:*) processes user-supplied gallery shortcode values stored in post metadata without proper sanitization on input or escaping on output. The vulnerable code path is located in the template-functions.php file (line 240 as referenced in the WordPress plugin repository), where shortcode attributes derived from post meta are rendered directly into the page output without adequate HTML entity encoding or content security policies. WordPress shortcodes are evaluated server-side but the values persist in the database, making this a Stored XSS variant that affects all users accessing the compromised pages rather than requiring individual user interaction.

Know when Easy Image 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

NVD PRIMARY 6.4 MEDIUM
AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N

Primary rating from NVD · only source for this CVE.

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

DescriptionCVE.org

The Easy Image Gallery plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the Gallery shortcode post meta field in all versions up to, and including, 1.5.3. This is due to insufficient input sanitization and output escaping on user-supplied gallery shortcode values. This makes it possible for authenticated attackers, with Contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.

Executive ViewAI

Why It Matters

Organizations using Easy Image Gallery should be aware of moderate risk from CVE-2026-4766, a cross-site scripting vulnerability rated CVSS 6.4. Attackers could inject scripts to steal sessions or perform actions as authenticated users. Organizations should apply vendor updates when available and monitor for exploitation.

Business Impact: Low
Compensating Controls

Apply vendor patch. If patching is delayed: implement CSP headers, enable HttpOnly cookies, deploy WAF XSS rules.

Threat Intelligence Overview

EPSS Score
0.0%
Top 92% exploitable
Data Quality
6 sources
Confidence: High

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 No
EPSS 0.0%
Patch available No
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
Defer
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
Low
Technical Impact
Partial

Priority Score

32
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +32
PoC: 0
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.

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