{"id":"CVE-2024-7094","published":"2024-08-13T02:31:39Z","modified":"2026-04-08T16:45:07Z","title":"JS Help Desk – The Ultimate Help Desk & Support Plugin <= 2.8.6 - Unauthenticated PHP Code Injection to Remote Code…","vendor":"rabilal","product":"JS Help Desk – AI-Powered Support & Ticketing System","tier":"tail","description":{"text":"The JS Help Desk – The Ultimate Help Desk & Support Plugin plugin for WordPress is vulnerable to PHP Code Injection leading to Remote Code Execution in all versions up to, and including, 2.8.6 via the 'storeTheme' function. This is due to a lack of sanitization on user-supplied values, which replace values in the style.php file, along with missing capability checks. This makes it possible for unauthenticated attackers to execute code on the server. This issue was partially patched in 2.8.6 when the code injection issue was resolved, and fully patched in 2.8.7 when the missing authorization and cross-site request forgery protection was added. CVE-2024-43274 is likely a duplicate of this issue.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.8,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.37645,"percentile":0.98571,"provenance":"source"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"}],"references":[{"url":"https://www.wordfence.com/threat-intel/vulnerabilities/id/31513f9e-6185-425b-9e7e-36f21f72d0a2?source=cve","tags":[]},{"url":"https://plugins.trac.wordpress.org/browser/js-support-ticket/tags/2.8.5/includes/formhandler.php","tags":[]},{"url":"https://plugins.trac.wordpress.org/browser/js-support-ticket/tags/2.8.5/modules/themes/tpls/admin_themes.php","tags":[]},{"url":"https://plugins.trac.wordpress.org/browser/js-support-ticket/tags/2.8.5/modules/themes/controller.php","tags":[]},{"url":"https://plugins.trac.wordpress.org/browser/js-support-ticket/tags/2.8.5/modules/themes/model.php","tags":[]},{"url":"https://plugins.trac.wordpress.org/browser/js-support-ticket/tags/2.8.5/includes/css/style.php","tags":[]}],"priority":{"score":31.6,"factors":[{"name":"EPSS percentile","points":19.71},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":6.86}]},"exploitSources":{"pocGithub":{"count":1,"skipped":0,"earliest":"2024-08-18","earliestUrl":"https://github.com/nastar-id/CVE-2024-7094","repos":[{"name":"nastar-id/CVE-2024-7094","url":"https://github.com/nastar-id/CVE-2024-7094","stars":0,"created":"2024-08-18"}]},"first":{"date":"2024-08-18","source":"PoC-in-GitHub","url":"https://github.com/nastar-id/CVE-2024-7094"},"provenance":"source"},"vendorSlug":"rabilal","affectedVersions":[{"vendor":"rabilal","product":"JS Help Desk – AI-Powered Support & Ticketing System","versions":["<= 2.8.6"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"total","timestamp":"2024-08-13T14:49:06.948729Z","from":"CISA ADP","provenance":"source"},"summary":{"text":"The JS Help Desk plugin for WordPress, from vendor rabilal, contains a flaw in its 'storeTheme' function, where user-supplied values that replace content in the style.php file are not sanitised, resulting in PHP code injection. An unauthenticated remote attacker with network access can send crafted requests to inject PHP code that executes on the server, requiring no authentication, no user interaction and no particular configuration, though the flaw is only fully resolved in version 2.8.7.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-21T00:17:24Z"},"euvd":{"id":"EUVD-2024-48080","exploited":false,"provenance":"source"}}