PT-2026-65503 · WordPress · Wordpress-Coding-Standards
CVE-2026-45293
·
Published
2026-07-28
·
Updated
2026-07-28
CVSS v3.1
8.6
High
| Vector | AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
WordPress Coding Standards versions 0.14.1 through 3.4.0
Description
An arbitrary code execution issue exists in the
WordPress.WP.EnqueuedResourceParameters sniff, which is active in the WordPress and WordPress-Extra rulesets. The problem occurs when the is falsy() function reconstructs the $ver argument passed to functions such as wp enqueue script() or wp register script() and processes it using eval(). A maliciously crafted argument, such as 'system'('id'), can trigger arbitrary command execution on the scanning host when PHPCS is run over untrusted PHP code, such as in CI pipelines linting pull requests or during third-party code reviews.Recommendations
Update to version 3.4.1.
As a temporary workaround, disable the
WordPress.WP.EnqueuedResourceParameters sniff by adding an <exclude> tag to the custom ruleset.Fix
Eval Injection
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Wordpress-Coding-Standards