Gallery PhotoBlocks <= 1.2.8 - Missing Authorization Checks
Strategic Overview
- Status
- Patched in 1.2.9
- Affected Plugin
- Gallery PhotoBlocks
- Affected Version
<= 1.2.8- CVSS
- 5.4Medium
- Weakness type
- CWE-862 · Missing Authorization
- CVE
CVE pending
At a glance
This record tracks a medium-severity Missing Authorization vulnerability in the Gallery PhotoBlocks WordPress plugin, affecting versions <= 1.2.8. It carries a CVSS score of 5.4 (reachable over the network; low attack complexity). The root cause is a missing authorization check on a reachable function. The issue is fixed in version 1.2.9; sites on affected versions should update now. Disclosed August 2022.
Vulnerability Overview
The Gallery PhotoBlocks plugin for WordPress is vulnerable to authorization bypass in versions up to, and including 1.2.8 due to missing capability checks on the init() function found in the ~/admin/class-photoblocks-admin.php file. This makes it possible for authenticated users with minimal permissions, such as a subscriber, to delete and clone gallery photoblocks.
Technical Analysis
The vector marks this flaw as remotely reachable over the network, with low attack complexity — no special timing or configuration is needed, and no interaction from a victim user.
CWE-862: Missing Authorization
Gallery PhotoBlocks <= 1.2.8 carries this weakness at init(), and reaching it takes a caller who can reach the endpoint. A missing authorization check means a function is reachable by anyone who can reach the endpoint, because the code never asks whether the caller is allowed to perform the action.
Any user who can reach the endpoint gets to run an action reserved for higher-privileged roles, from reading protected data to changing settings or content. For Gallery PhotoBlocks the fix is 1.2.9: builds <= 1.2.8 are affected, anything from 1.2.9 onward is not.
Remediation
Update to version 1.2.9, or a newer patched version
How does WordSec protect against this?
Because it turns on account access, WordSec's login security is the relevant layer: role-based two-factor, captcha and brute-force limits raise the cost of getting the account this needs. None of that substitutes for the fix: Gallery PhotoBlocks 1.2.9 closes this, and updating the plugin is the step that ends it.
- Login Security
- Alerts
External References
Related records
Same weakness class
Other vulnerabilities in Gallery PhotoBlocks
- 8.8CVE-2022-36292: Gallery PhotoBlocks <= 1.2.8 CSRF
CVE-2022-36292 - 7.1Gallery PhotoBlocks <= 1.1.5 Cross-Site Scripting
- 6.4CVE-2026-84781: Gallery PhotoBlocks <= 1.3.4 Stored XSS
CVE-2026-84781 - 6.4CVE-2026-66448: Gallery PhotoBlocks <= 1.3.3 Stored XSS
CVE-2026-66448 - 6.4CVE-2026-24389: Gallery PhotoBlocks <= 1.3.2 Stored XSS
CVE-2026-24389 - 6.4CVE-2025-58610: Gallery PhotoBlocks <= 1.3.1 Stored XSS
CVE-2025-58610 - 6.4CVE-2022-37407: Gallery PhotoBlocks <= 1.2.6 Stored XSS
CVE-2022-37407 - 6.1CVE-2023-33999: Freemius SDK <= 2.5.9 Reflected Cross-Site Scripting
CVE-2023-33999
Vulnerability data © Defiant, Inc., provided under the Wordfence Intelligence T&C