The Sunshine Photo Cart plugin for WordPress has a security issue that allows unauthorized individuals to access data. This is because the search_galleries() function, used in versions up to 3.2.9, does not have a proper check for user capabilities. As a result, attackers who are logged in with subscriber-level access or higher can search through galleries without permission.