# CVE-2024-9707: Hunk Companion <= 1.8.4 - Missing Authorization to Unauthenticated Arbitrary Plugin Installation/Activation

- Severity: Critical 9.8 (CVSS:3.1, scored by Wordfence) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 9.08%, higher than 95% of CVEs (2026-12-02)
- Published: 2024-10-11T06:50:18.867Z
- Modified: 2026-06-17T08:25:06.080Z
- Weaknesses: CWE-862
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: Wordfence

## Description

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.

(As written by CVE List.)

## Affected

- themehunk Hunk Companion: up to 1.8.4
- themehunk hunk_companion: up to 1.8.4; before 1.8.5

## References

- <https://www.wordfence.com/threat-intel/vulnerabilities/id/9c101fca-037c-4bed-9dc7-baa021a8b59c?source=cve> (third-party-advisory)
- <https://github.com/WordPressBugBounty/plugins-hunk-companion/blob/5a3cedc7b3d35d407b210e691c53c6cb400e4051/hunk-companion/import/app/app.php#L46> (product)
- <https://wordpress.org/plugins/hunk-companion/> (product)
- <https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&old=3166501%40hunk-companion&new=3166501%40hunk-companion&sfp_email=&sfph_mail=> (patch)

## Sources

- CVE List: [CVE-2024-9707](https://www.cve.org/CVERecord?id=CVE-2024-9707), CVE Terms of Use, modified 2026-04-08
- NVD: [CVE-2024-9707](https://nvd.nist.gov/vuln/detail/CVE-2024-9707), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-9707 · Whole record: https://cve.day/CVE-2024-9707.json · Rebuilt by cve.day 2026-11-25T22:58:46.654Z
