CVE-2026-9239

Meow Gallery <= 5.5.1 - Authenticated (Author+) Stored Cross-Site Scripting via Attachment Alt Text (aria-label attribute)

Published Oct 30, 2026 CVSS 3.1 · 6.4 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical 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.

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 available
History
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'}

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'}

Weaknesses
  • CWE-79

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

Sources

Status
PUBLISHED
Assigner
Wordfence
Published
Updated
Oct 30, 2026, 6:08 PM
Reserved
May 21, 2026, 6:54 PM
Status
Deferred
Published
Oct 30, 2026, 6:18 PM
Modified
Oct 30, 2026, 7:20 PM