CVE-2021-24942

Public Exploit
Menu Item Visibility Control <= 0.5 - Admin+ Arbitrary PHP Code Execution

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.

7.2
CVSS
Severity: High
CVSS 3.1 •
EPSS 0.18%
Third-Party Advisory wpscan.com
Affected: Unknown Menu Item Visibility Control
Published at:
Updated at:

References

Link Tags
https://wpscan.com/vulnerability/eaa28832-74c1-4cd5-9b0f-02338e23b418 exploit vdb entry third party advisory technical description

Frequently Asked Questions

What is the severity of CVE-2021-24942?
CVE-2021-24942 has been scored as a high severity vulnerability.
How to fix CVE-2021-24942?
To fix CVE-2021-24942, make sure you are using an up-to-date version of the affected component(s) by checking the vendor release notes. As for now, there are no other specific guidelines available.
Is CVE-2021-24942 being actively exploited in the wild?
It is possible that CVE-2021-24942 is being exploited or will be exploited in a near future based on public information. According to its EPSS score, there is a ~0% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
What software or system is affected by CVE-2021-24942?
CVE-2021-24942 affects Unknown Menu Item Visibility Control.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.