Arbitrary Command Execution Vulnerability in WordPress Coding Standards
CVE-2026-45293
8.6HIGH
What is CVE-2026-45293?
A vulnerability exists in the WordPress Coding Standards where the WP.EnqueuedResourceParameters sniff improperly processes the $ver argument passed to wp_enqueue_script(). This flaw allows a crafted argument to execute arbitrary commands on the scanning host when PHPCS is run over untrusted PHP. Developers using WordPressCS are advised to update to version 3.4.1 to mitigate this risk, ensuring safer linting and code reviews.
Affected Version(s)
WordPress-Coding-Standards >= 0.14.1, < 3.4.1