The Envira Photo Gallery plugin for WordPress has a security issue that allows unauthorized changes to be made to data. This is because the envira_gallery_ajax_load_gallery_data() function does not have a check in place to verify user capabilities. This means that users with contributor-level access or higher can make edits to galleries belonging to other users.