Description
The Meow Gallery plugin for WordPress is vulnerable to unauthorized modification of data due to a missing capability check on the REST API endpoint /wp-json/meow-gallery/v1/save_shortcode in all versions up to, and including, 5.4.4 This makes it possible for authenticated attackers, with Author-level access and above, to arbitrarily create or overwrite existing gallery shortcode records by supplying a user-controlled id value. The endpoint performs database update operations without verifying that the requesting user is authorized to modify the referenced gallery record or create their own.
Problem types
CWE-639 Authorization Bypass Through User-Controlled Key
Product status
Any version
Timeline
| 2026-01-21: | Vendor Notified |
| 2026-06-12: | Disclosed |
Credits
Chawabhon Netisingha
References
www.wordfence.com/...-9c61-4b54-a451-1178ca6325cb?source=cve
plugins.trac.wordpress.org/...gallery/trunk/classes/rest.php
wordpress.org/plugins/meow-gallery/
plugins.trac.wordpress.org/changeset/3469543/meow-gallery
plugins.trac.wordpress.org/...gallery/trunk/classes/rest.php
plugins.trac.wordpress.org/...ath=%2Fmeow-gallery/tags/5.4.5