Vulnerability in Meow Gallery — CVE-2026-120672
MediumSeverity
0.4%Estimated exploit probability
10,000+ sitesInstalls
5.6.0Fixed in
What to do now
Update Meow Gallery to 5.6.0 or later.
Affected versions
- Everything up to and including 5.5.9
Affected: Meow Gallery (plugin, meow-gallery)
What the vulnerability is
The Meow Gallery plugin for WordPress is vulnerable to generic SQL Injection via the 'limit' parameter in all versions up to, and including, 5.5.9 due to insufficient escaping on the user supplied parameter and lack of sufficient preparation on the existing SQL query. This makes it possible for authenticated attackers, with administrator-level access and above, to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database.
Sources
- https://plugins.trac.wordpress.org/browser/meow-gallery/tags/5.5.8/classes/core.php#L107
- https://plugins.trac.wordpress.org/browser/meow-gallery/tags/5.5.8/classes/rest.php#L52
- https://plugins.trac.wordpress.org/browser/meow-gallery/tags/5.5.8/classes/rest.php#L551
- https://plugins.trac.wordpress.org/browser/meow-gallery/tags/5.5.8/classes/rest.php#L598
- https://plugins.trac.wordpress.org/changeset?old_path=/meow-gallery/tags/5.5.8/classes/rest.php&new_path=/meow-gallery/tags/5.6.0/classes/rest.php
- https://www.wordfence.com/threat-intel/vulnerabilities/id/675a769a-ecc0-4ed9-ab86-a2f7b35ba1eb?source=cve