CVE-2024-13780 Missing authorization in Hero Mega Menu - Responsive WordPress Menu Plugin

Medium 6.5 Published Updated

Unauthenticated attackers can delete arbitrary directories on the server due to missing authorization checks in the Hero Mega Menu plugin.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2024-13780?

CVE-2024-13780 is a medium-severity missing authorization vulnerability in heroplugins Hero Mega Menu - Responsive WordPress Menu Plugin, published on 5 Mar 2025. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

The Hero Mega Menu - Responsive WordPress Menu Plugin plugin for WordPress is vulnerable to arbitrary file deletion due to insufficient file path validation in the hmenu_delete_menu() function in all versions up to, and including, 1.16.5. This makes it possible for unauthenticated attackers to delete arbitrary directories on the server.

Weakness: CWE-862

Which versions are affected by CVE-2024-13780?

How do I fix CVE-2024-13780?

No fix has been published for CVE-2024-13780 yet. Limit exposure of the affected software until one is available.

Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.

Is CVE-2024-13780 being exploited?

There is no known exploitation of CVE-2024-13780 in the wild and no public exploit code.

Sources

Also known as GHSA-qmp5-2j86-r93w.

Is CVE-2024-13780 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free