CVE-2026-9239
mediumThe 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 in…
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.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N Affected products
Not reported by the source (unknown — not "none").
Weakness classification (CWE)
Source: NVD / CISA. “NVD-CWE-Other” and “NVD-CWE-noinfo” mean NVD could not assign a specific weakness.
Mitigation & advisories
No vendor advisory or patch reference tagged by NVD. Check the references below.
References
- https://plugins.trac.wordpress.org/browser/meow-gallery/tags/5.4.5/classes/core.php#L465 security@wordfence.com
- https://plugins.trac.wordpress.org/browser/meow-gallery/tags/5.4.5/classes/core.php#L469 security@wordfence.com
- https://plugins.trac.wordpress.org/browser/meow-gallery/tags/5.4.5/classes/run.php#L12 security@wordfence.com
- https://plugins.trac.wordpress.org/browser/meow-gallery/tags/5.4.9/classes/core.php#L465 security@wordfence.com
- https://plugins.trac.wordpress.org/browser/meow-gallery/tags/5.4.9/classes/core.php#L469 security@wordfence.com
- https://plugins.trac.wordpress.org/browser/meow-gallery/tags/5.4.9/classes/run.php#L12 security@wordfence.com
- https://plugins.trac.wordpress.org/changeset?old_path=/meow-gallery/tags/5.5.1&new_path=/m... security@wordfence.com
- https://www.wordfence.com/threat-intel/vulnerabilities/id/49afa739-83f0-4ad7-9e5e-d600f293... security@wordfence.com
