VYPR
Medium severity6.4NVD Advisory· Published Mar 25, 2026· Updated Apr 24, 2026No known patch

CVE-2026-4766

CVE-2026-4766

Description

Easy Image Gallery plugin ≤1.5.3 stores user-supplied gallery shortcode values without sanitization, enabling Stored XSS for authenticated attackers with Contributor-level access.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

Easy Image Gallery plugin ≤1.5.3 stores user-supplied gallery shortcode values without sanitization, enabling Stored XSS for authenticated attackers with Contributor-level access.

Vulnerability

The Easy Image Gallery plugin for WordPress (versions up to and including 1.5.3) is vulnerable to Stored Cross-Site Scripting (XSS) via the Gallery shortcode post meta field. The vulnerability exists because the plugin fails to properly sanitize user-supplied gallery shortcode values before storing them in post meta. This affects the easy_image_gallery_get_post_meta() function in template-functions.php [1][2], where the shortcode data is retrieved and subsequently used without adequate output escaping.

Exploitation

An attacker must be authenticated with at least Contributor-level access to WordPress (i.e., the ability to create or edit posts with post meta fields). The attacker injects malicious JavaScript into the gallery shortcode post meta via the post editor (e.g., by crafting a gallery shortcode value containing script payloads). When the post is subsequently rendered and a victim (including higher-privileged users or administrators) views the page, the stored script executes in the context of the victim's browser session [1][2]. No user interaction beyond viewing the compromised page is required.

Impact

Successful exploitation allows the attacker to execute arbitrary web scripts in the browsers of users who access the injected page. This can lead to session hijacking, defacement, redirection to malicious sites, or theft of sensitive information (e.g., authentication cookies). The injected script runs under the security context of the victim's session, potentially enabling actions with the victim's privileges, including administrative actions if the victim is an administrator [1][2].

Mitigation

As of the published date (2026-03-25), no fixed version has been released for the Easy Image Gallery plugin; all versions up to and including 1.5.3 are affected. Users should review the plugin's update status and consider disabling the plugin or removing access for untrusted contributors until a patch is provided. There is no known workaround published in the available references [1][2].

AI Insight generated on May 22, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.

Affected products

2

Patches

0
Plugin removedEasy Image Galleryeasy-image-gallery

This plugin has been removed from the WordPress.org directory on 2026-03-11 (reason: Security Issue). No patched version is being distributed through the official directory. Users who have it installed should uninstall it.

Source: api.wordpress.org · directory page

Vulnerability mechanics

AI mechanics synthesis has not run for this CVE yet.

References

3

News mentions

0

No linked articles in our index yet.