Security Alert Summary
The Meow Gallery plugin prior to version 5.5.2 contains a stored cross-site scripting (XSS) vulnerability. The plugin failed to escape an attachment’s alt text before inserting it into a link attribute for linked galleries, allowing users with the Author role or higher to save a JavaScript payload that will run in the browser of any visitor who views a post containing the affected gallery.
CVE Details
- CVE ID:
CVE-2026-15386 - Affected component: Meow Gallery WordPress plugin
- Affected versions: Versions prior to 5.5.2 (versions < 5.5.2)
- Published: Aug 7, 2026 at 06:16:55 AM UTC
- Last modified: Aug 7, 2026 at 06:16:55 AM UTC
- CVSS v3.1: Not provided
- Authentication / privileges required: An authenticated user with the Author role or higher can store the payload. No authentication is required for a visitor to trigger the vulnerability by viewing content.
- User interaction: The vulnerability is triggered when a visitor (including administrators) views a post containing a linked gallery with the crafted attachment alt text.
- Primary impact:
- Confidentiality: Potential disclosure of data accessible in the visitor’s browser (for example, session tokens or visible page content).
- Integrity: Execution of attacker-controlled script in the context of the site could modify client-side content or perform actions as the viewing user.
- Availability: Not indicated as directly impacted by this issue.
- CWE / weakness: Not provided
Technical Details
The plugin did not escape an attachment’s alt text before outputting it into an attribute of the link it builds for linked galleries. This is a stored XSS scenario: an attacker with the required privileges (Author role or above) can save malicious JavaScript payloads in the alt text field of an attachment. When a post containing that gallery is viewed, the injected script is emitted into the page and executed in the visitor’s browser.
The issue is caused by missing escaping of user-controlled alt text before insertion into an HTML attribute. No specific functions, REST API endpoints, or code paths were named in the provided data beyond the description of how the link for linked galleries is constructed.
Impact is limited to client-side script execution in the context of pages that render the linked gallery. That can be used to steal browser-accessible data, perform actions available to the viewing user in the browser, or alter displayed content. The information provided does not indicate direct server-side command execution or automatic full site compromise.
How This Could Impact Your Website
Consider a small team site where the site owner assigns content tasks to internal staff and allows an external contractor to upload images. If a user with the Author role uploads or edits an image and supplies crafted alt text, that payload could execute in the browser of any visitor who views the post with the linked gallery. Practical consequences include exposure of browser-visible data (for example, session cookies or other client-side tokens) and increased risk of targeted phishing or social engineering using information collected via injected scripts.
Example scenario: an external contractor with Author access uploads gallery images containing malicious alt text. A site editor or administrator views the post to review content and the injected script runs in their browser, potentially exposing data that could be used for further attacks such as account takeover via stolen session tokens or targeted phishing of staff members.
If you’re unsure whether your site is affected or how to assess your current user roles and plugins, it may be worth having a professional review your setup.
Recommended Actions
- Update the affected plugin as soon as a patched version is available.
- Review and reduce unnecessary user roles, especially Authors and Contributor accounts with upload privileges.
- Enforce strong passwords and two-factor authentication for editors and administrators.
- Remove unused or unmaintained plugins and media that are not required.
- Monitor site activity and access logs for unusual behavior, especially uploads and post edits by non-administrative users.
If you’d like help reviewing your plugins, user roles, or overall WordPress security posture, our team at Freshy is happy to help.