CVEvulnerability

CVE-2021-38312

6.5 MEDIUM Published 2021-09-02 Modified 2026-06-17 Official page ↗
Status
Modified
Published
2021-09-02
Last modified
2026-06-17
Assigner
[email protected]
CVSS 3.1 ([email protected])
7.1 HIGH — CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:L
CVSS 3.1 ([email protected])
6.5 MEDIUM — CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
CVSS 2.0 ([email protected])
4.0 MEDIUM — AV:N/AC:L/Au:S/C:N/I:P/A:N
Weaknesses
CWE-280, CWE-863

Description

The Gutenberg Template Library & Redux Framework plugin <= 4.2.11 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.

Affected configurations

• redux gutenberg template library \& redux framework (<= 4.2.11)

Related

Weakness · CWE (2)

  • CWE-280 Improper Handling of Insufficient Permissions or Privileges weakness
  • CWE-863 Incorrect Authorization weakness

References