CVE-2024-9707Themehunk Hunk Companion Missing Authorization
NVDCVSS scored by security@wordfence.com
Vulnerability Summary
The Hunk Companion plugin for WordPress is vulnerable to unauthorized plugin installation/activation due to a missing capability check on the /wp-json/hc/v1/themehunk-import REST API endpoint in all versions up to, and including, 1.8.4. This makes it possible for unauthenticated attackers to install and activate arbitrary plugins which can be leveraged to achieve remote code execution if another vulnerable plugin is installed and activated.
CVSS v3.1 Base Metrics — Score 9.8 (CRITICAL)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HAttack VectorNetwork
Attack ComplexityLow
Privileges RequiredNone
User InteractionNone
ScopeUnchanged
ConfidentialityHigh
IntegrityHigh
AvailabilityHigh
Affected & Patched Versions
- Themehunk Hunk Companion < 1.8.5
- Themehunk Hunk Companion 1.8.5
What to do
Prioritize this fix. Exploit code is public, so attacks can follow quickly.
- Check whether you run Themehunk Hunk Companion and which version.
- Update to a patched version listed above, then confirm the new version.
- Review logs and exposed services for signs of earlier compromise.
Timeline
- Oct 11, 2024Published
- Nov 25, 2024Record last modified
Score, severity and exploitation changes are tracked from the day Watchtower started logging them.
Get notified about new Themehunk Hunk Companion CVEsYou are reading CVE-2024-9707. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alertsRelated Coverage
External References
- Referencehttps://github.com/WordPressBugBounty/plugins-hunk-companion/blob/5a3cedc7b3d35d407b210e691c53c6cb400e4051/hunk-companion/import/app/app.php#L46
- Patchhttps://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&old=3166501%40hunk-companion&new=3166501%40hunk-companion&sfp_email=&sfph_mail=
- Referencehttps://wordpress.org/plugins/hunk-companion/
- Advisoryhttps://www.wordfence.com/threat-intel/vulnerabilities/id/9c101fca-037c-4bed-9dc7-baa021a8b59c?source=cve
Data last checked: Nov 22, 2026 20:12 UTC