Meow Gallery <= 5.5.1 - Authenticated (Author+) Stored Cross-Site Scripting via Attachment Alt Text (aria-label attribute)
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
- Exploitation: none
- Automatable: no
- Technical impact: partial
Summary
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.
Timeline
- CVE published
- First seen by cve.now
- CISA SSVC assessment
Exploitation: none · Automatable: no · Technical impact: partial
- Record last updated
Affected versions
- tigroumeow Meow Gallery
through 5.5.1
References 8
plugins.trac.wordpress.org
- browser/meow-gallery/tags/5.4.9/classes/core.php#L469
- browser/meow-gallery/tags/5.4.9/classes/core.php#L465
- browser/meow-gallery/tags/5.4.9/classes/run.php#L12
- browser/meow-gallery/tags/5.4.5/classes/core.php#L469
- browser/meow-gallery/tags/5.4.5/classes/core.php#L465
- browser/meow-gallery/tags/5.4.5/classes/run.php#L12
- changeset?old_path=/meow-gallery/tags/5.5.1&new_path=/meow-gallery/tags/5.5.2