Gutenberg Template Library & Redux Framework <= 4.2.1 - Incorrect Authorization Leading to Arbitrary Plugin Installation and Post Deletion
Strategic Overview
- Status
- Patched in 4.2.13
- Affected Plugin
- Redux Framework
- Affected Version
<= 4.2.12- CVSS
- 7.1High
- Weakness type
- CWE-863 · Incorrect Authorization
- CVE
CVE-2021-38312
At a glance
CVE-2021-38312 is a high-severity Incorrect Authorization vulnerability in the Redux Framework WordPress plugin, affecting versions <= 4.2.12. It carries a CVSS score of 7.1 (reachable over the network; low attack complexity; high integrity impact). The issue is fixed in version 4.2.13; sites on affected versions should update now. Disclosed September 2021, reported by Ram.
Vulnerability Overview
The Gutenberg Template Library & Redux Framework plugin <= 4.2.12 for WordPress used an incorrect authorization check in the REST API endpoints registered under the “redux/v1/templates/” REST Route in “redux-templates/classes/class-api.php”. The `permissions_callback` used in this file only checked for the `edit_posts` capability which is granted to lower-privileged users such as contributors, allowing such users to install arbitrary plugins from the WordPress repository and edit arbitrary posts.
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. A successful exploit has high impact on integrity.
CWE-863: Incorrect Authorization
Reaching this weakness in Redux Framework <= 4.2.12 takes a caller who can reach the endpoint. Incorrect authorization means a permission check exists but evaluates the wrong thing, so it passes for callers it was meant to stop.
The action runs for users the code intended to exclude, with the same effect as having no check at all. For Redux Framework the fix is 4.2.13: builds <= 4.2.12 are affected, anything from 4.2.13 onward is not.
Remediation
Update to version 4.2.13, 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: Redux Framework 4.2.13 closes this, and updating the plugin is the step that ends it.
- Login Security
- Alerts
External References
Related records
Other vulnerabilities in Redux Framework
- 8.8CVE-2026-12525: Redux Framework <= 4.5.12 Privilege Escalation
CVE-2026-12525 - 8.8Gutenberg Template and Pattern Library & Redux Framework CSRF
- 7.2CVE-2024-6828: Redux Framework 4.4.12 - 4.4.17 JSON File Upload
CVE-2024-6828 - 6.4CVE-2026-5399: Redux Framework <= 4.5.13.1 Stored Cross-Site Scripting
CVE-2026-5399 - 6.4CVE-2025-9488: Redux Framework <= 4.5.8 Stored Cross-Site Scripting
CVE-2025-9488 - 5.3CVE-2021-38314: Gutenberg Template Library & Redux… Info Disclosure
CVE-2021-38314 - 5.3Gutenberg Template Library & Redux Framework <= 4.1.23 CSRF
Vulnerability data © Defiant, Inc., provided under the Wordfence Intelligence T&C