Description
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.
Published: 2026-03-25
Score: 6.4 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Stored Cross‑Site Scripting
Action: Immediate Patch
AI Analysis

Impact

The Easy Image Gallery WordPress plugin contains a stored cross‑site scripting flaw in the gallery shortcode post metadata field because user‑supplied shortcode values are not properly sanitized or escaped. Attacks are limited to authenticated users with Contributor role or higher, who can insert arbitrary JavaScript into the shortcodes. When a page containing the infected shortcode is viewed, the malicious script runs in the visitor’s browser, enabling data theft, defacement, or session hijacking.

Affected Systems

WordPress sites that have the Easy Image Gallery plugin delivered by devrix, version 1.5.3 or any earlier release, are affected by this vulnerability.

Risk and Exploitability

The flaw carries a CVSS score of 6.4, indicating moderate severity. EPSS data is unavailable and the vulnerability is not listed in the CISA KEV catalog. Exploitation requires an authenticated Contributor or higher, making the attack vector more limited but still feasible if privileged accounts are present. Attackers can deliver the payload via gallery shortcode insertion, and compromise occurs when victims load a page rendering the malicious shortcode, allowing the attacker to execute scripts in the victim’s browser context.

Generated by OpenCVE AI on March 25, 2026 at 02:51 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply the latest Easy Image Gallery plugin version that removes the XSS vulnerability.
  • If an update cannot be performed immediately, disable or delete the plugin until a safe release is available.
  • Reduce the number of users assigned the Contributor role or create a custom role with fewer capabilities for gallery management.
  • Deploy a web‑application firewall rule that blocks or sanitizes script payloads targeting the gallery shortcode field.

Generated by OpenCVE AI on March 25, 2026 at 02:51 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 25 Mar 2026 17:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Wed, 25 Mar 2026 12:00:00 +0000

Type Values Removed Values Added
First Time appeared Devrix
Devrix easy Image Gallery
Wordpress
Wordpress wordpress
Vendors & Products Devrix
Devrix easy Image Gallery
Wordpress
Wordpress wordpress

Wed, 25 Mar 2026 01:45:00 +0000

Type Values Removed Values Added
Description 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.
Title Easy Image Gallery <= 1.5.3 - Authenticated (Contributor+) Stored Cross-Site Scripting via Gallery Shortcode Post Meta
Weaknesses CWE-79
References
Metrics cvssV3_1

{'score': 6.4, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N'}


Subscriptions

Devrix Easy Image Gallery
Wordpress Wordpress
cve-icon MITRE

Status: PUBLISHED

Assigner: Wordfence

Published:

Updated: 2026-04-08T17:30:19.810Z

Reserved: 2026-03-24T12:52:49.026Z

Link: CVE-2026-4766

cve-icon Vulnrichment

Updated: 2026-03-25T15:47:05.585Z

cve-icon NVD

Status : Deferred

Published: 2026-03-25T02:16:06.137

Modified: 2026-04-24T16:32:53.997

Link: CVE-2026-4766

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-03-25T21:16:00Z

Weaknesses