WordPress Plugin Vulnerabilities

Gallery Blocks with Lightbox < 3.3.1 - Missing Authorization to Authenticated (Contributor+) Plugin Settings Modification

Description

The Gallery Blocks with Lightbox. Image Gallery, (HTML5 video , YouTube, Vimeo) Video Gallery and Lightbox for native gallery plugin for WordPress is vulnerable to unauthorized modification of plugin settings in all versions up to, and including, 3.3.0. This is due to the plugin using the `edit_posts` capability check instead of `manage_options` for the `update_option` action type in the `pgc_sgb_action_wizard` AJAX handler. This makes it possible for authenticated attackers, with Contributor-level access and above, to modify arbitrary plugin settings prefixed with `pgc_sgb_*`.

Affects Plugins

Fixed in 3.3.1

References

Classification

Type
NO AUTHORISATION
CWE

Miscellaneous

Original Researcher
Karol
Verified
No

Timeline

Publicly Published
2025-12-12 (about 6 months ago)
Added
2025-12-12 (about 6 months ago)
Last Updated
2025-12-13 (about 6 months ago)

Other