WordPress security changelog
HIGH CVE-2021-24942 Modified

Menu Item Visibility Control: A security weakness

Menu Item Visibility Control is affected by a security weakness. Exposure depends on how the affected operation is made reachable by the site. The resulting impact depends on how the affected component exposes the vulnerable operation.

CVE / CNA score 7.2 CVSS 3.1 · 134c704f-9b21-4f2e-91b3-4a467353bcc0
NVD score 7.2 CVSS 3.1 · nvd@nist.gov
Component
Menu Item Visibility Control
Plugin slug
menu-item-visibility-control
Affected
See vendor advisory
Safe version
See mitigation notes
Published
Dec 26, 2022
Weakness
NVD-CWE-Other

This CVE was published Dec 26, 2022 and is one of 1 known issue for this plugin.

Update, patch or deactivate.

Update Menu Item Visibility Control to a release outside the affected range, or disable and remove it until a fixed version is available.

No confirmed safe version is listed. Consider a vendor-supported patch or temporarily restricting the affected functionality while you assess the risk.

Deactivate only when warranted by your risk profile, or when advised by your hosting provider in the limited circumstances where the vulnerability cannot otherwise be mitigated. If you’re unsure which action is appropriate, contact Fused or your hosting provider for guidance.

Technical description

The Menu Item Visibility Control WordPress plugin through 0.5 doesn't sanitize and validate the "Visibility logic" option for WordPress menu items, which could allow highly privileged users to execute arbitrary PHP code even in a hardened environment.

CVE / CNA vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H

NVD vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H

Primary and upstream sources