7.2high
Menu Item Visibility Control <= 0.5 - Admin+ Arbitrary PHP Code Execution
- Severity
- 7.2high CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 1.34% (higher than 72% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- WPScan
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Unknown Menu Item Visibility Control | up to 0.5 | CVE List |
| menu_item_visibility_control_project menu_item_visibility_control | up to 0.5 | NVD |
All scores
| CISA-ADP | 7.2high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H |
| NVD | 7.2high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H |
Classification
SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total.
What each source says
CVE List
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.
NVD (es)
El complemento Menu Item Visibility Control de WordPress hasta la versión 0.5 no sanitiza ni valida la opción "Lógica de visibilidad" para los elementos del menú de WordPress, lo que podría permitir a usuarios altamente privilegiados ejecutar código PHP arbitrario incluso en un entorno reforzado.
References
| https://wpscan.com/vulnerability/eaa28832-74c1-4cd5-9b0f-02338e23b418 | exploit, technical-description, third-party-advisory, vdb-entry | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-24942 changed 2025-04-14 | CVE Terms of Use |
| NVD | CVE-2021-24942 changed 2026-06-17 | Public domain |