Description
The Meow Gallery plugin for WordPress is vulnerable to Stored Cross-Site Scripting via Attachment Alt Text (aria-label attribute) in all versions up to, and including, 5.5.1 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with author-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. The vulnerable code path is only reachable when a gallery item is rendered as a link (i.e., link_href is non-empty), and exploitation relies on the fact that WordPress's sanitize_text_field() strips angle-bracketed tags but preserves double quotes, allowing an attacker to break out of the aria-label attribute context and inject event-handler attributes such as onclick.
Published: 2026-10-30
Score: 6.4 Medium
EPSS: n/a
KEV: No
Impact: Stored Cross‑Site Scripting (XSS) via alt text in gallery links
Action: Patch
AI Analysis

Impact

The vulnerability allows an authenticated user with author‑level access to embed arbitrary JavaScript into the aria‑label attribute of gallery links. Because WordPress’s sanitize_text_field() removes angle brackets but preserves quotation marks, an attacker can close the attribute and add event‑handler attributes such as onclick or onmouseover. When a page renders a gallery item that links to an external URL, the injected script executes in the visitor’s browser, potentially allowing credential theft, session hijacking, or defacement. The flaw exists only when the gallery item is rendered as a link, but that is a common rendering mode for Meow Gallery.

Affected Systems

Meow Gallery plugin, versions up to and including 5.5.1, installed on WordPress sites. The vulnerability is specific to the plugin’s handling of attachment alt text in link contexts.

Risk and Exploitability

The CVSS score of 6.4 indicates a moderate severity. EPSS is not available, so the likelihood of exploitation cannot be quantified, and the vulnerability is not listed in the CISA KEV catalog. The attack requires authenticated author‑level access and the ability to add or edit gallery items. Once an attacker injects malicious script, the code runs in the context of any site visitor who opens the gallery page, creating broad impact for users of that site.

Generated by OpenCVE AI on October 30, 2026 at 18:53 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Meow Gallery to version 5.5.2 or newer, which removes the vulnerable alt‑label handling
  • If an immediate upgrade is not possible, restrict the author or contributor role from editing gallery items that can contain the alt text, thereby preventing potential script injection
  • As a last resort, modify the gallery template or plugin code to properly escape or sanitize the aria‑label attribute value before rendering, or remove the avatar attribute entirely

Generated by OpenCVE AI on October 30, 2026 at 18:53 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 30 Oct 2026 19:30:00 +0000

Type Values Removed Values Added
First Time appeared Tigroumeow
Tigroumeow meow Gallery
Wordpress-extensions
Wordpress-extensions meow Gallery
Vendors & Products Tigroumeow
Tigroumeow meow Gallery
Wordpress-extensions
Wordpress-extensions meow Gallery
Metrics ssvc

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


Fri, 30 Oct 2026 17:30:00 +0000

Type Values Removed Values Added
Description The Meow Gallery plugin for WordPress is vulnerable to Stored Cross-Site Scripting via Attachment Alt Text (aria-label attribute) in all versions up to, and including, 5.5.1 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with author-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. The vulnerable code path is only reachable when a gallery item is rendered as a link (i.e., link_href is non-empty), and exploitation relies on the fact that WordPress's sanitize_text_field() strips angle-bracketed tags but preserves double quotes, allowing an attacker to break out of the aria-label attribute context and inject event-handler attributes such as onclick.
Title Meow Gallery <= 5.5.1 - Authenticated (Author+) Stored Cross-Site Scripting via Attachment Alt Text (aria-label attribute)
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

Tigroumeow Meow Gallery
Wordpress-extensions Meow Gallery
cve-icon MITRE

Status: PUBLISHED

Assigner: Wordfence

Published:

Updated: 2026-10-30T18:08:58.980Z

Reserved: 2026-05-21T18:54:00.426Z

Link: CVE-2026-9239

cve-icon Vulnrichment

Updated: 2026-10-30T18:01:53.444Z

cve-icon NVD

Status : Deferred

Published: 2026-10-30T18:18:21.613

Modified: 2026-10-30T19:20:29.180

Link: CVE-2026-9239

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-30T19:15:16Z

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')