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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
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
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
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
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
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.
Apply vendor patch. If patching is delayed: implement CSP headers, enable HttpOnly cookies, deploy WAF XSS rules.
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.
EUVD-2026-15181
NVD
CVE.org
EPSS
Vulnrichment
VulDB
GitHub PoC
Exploit-DB