WordPress Coding Standards (WordPressCS) contains an arbitrary code execution vulnerability
Published Jul 28, 2026
8.6
HIGHCVSS 3.1
EPSS 0.25%
Description
WordPress Coding Standards is a set of PHP_CodeSniffer rules (sniffs) that enforce WordPress coding conventions. From 0.14.1 until 3.4.1, the WordPress.WP.EnqueuedResourceParameters sniff (active in the WordPress and WordPress-Extra rulesets) reconstructed the $ver argument passed to functions such as wp_enqueue_script() and ran it through eval() inside its is_falsy() method, so a maliciously crafted argument such as 'system'('id') would execute during a scan; as a result, running PHPCS with WordPressCS over untrusted PHP (for example a CI pipeline that lints pull requests, or a developer reviewing third-party code) could lead to arbitrary command execution on the scanning host. The WordPress-Core and WordPress-Docs rulesets are not affected. This issue is fixed in version 3.4.1.
Affected products
-
- Version >= 0.14.1, < 3.4.1StatusaffectedConstraints-
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| WordPress | WordPress-Coding-Standards | n/a |
|
No data.
No data.
No Red Hat product state for this CVE.
No package ranges for this CVE.
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
No CVSS v3.0 score for this CVE.
No CVSS v2.0 score for this CVE.
This CVE is not in the KEV list.
CISA SSVC (Vulnrichment)
Stakeholder-Specific Vulnerability Categorization from CISA ADP.
Exploitation
NoneAutomatable
NoTechnical Impact
TotalDecision
n/aAssessed Jul 29, 2026 · SSVC 2.0.3
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 3, 2026.
Score over time
Jul–Oct 2026- EPSS v5
Percentile over time
- EPSS v5
Table of values (2 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 3, 2026 | 0.25% (0.00249) | 14.70th | v5 (v2026.06.15) |
| Jul 29, 2026 | 0.18% (0.00184) | 8.32th | v5 (v2026.06.15) |
References (5)
- https://github.com/WordPress/WordPress-Coding-Standards/commit/a29048d0bbef5cf25d42349c74e4072d3cbc8325 x_refsource_MISC
- https://github.com/WordPress/WordPress-Coding-Standards/pull/2771 x_refsource_MISC
- https://github.com/WordPress/WordPress-Coding-Standards/releases/tag/3.4.1 x_refsource_MISC
- https://github.com/WordPress/WordPress-Coding-Standards/security/advisories/GHSA-3pwp-g2mj-5p3v x_refsource_CONFIRM
- https://github.com/advisories/GHSA-3pwp-g2mj-5p3v Advisory
| Link | Providers | Tags |
|---|---|---|
| https://github.com/WordPress/WordPress-Coding-Standards/commit/a29048d0bbef5cf25d42349c74e4072d3cbc8325 | x_refsource_MISC | |
| https://github.com/WordPress/WordPress-Coding-Standards/pull/2771 | x_refsource_MISC | |
| https://github.com/WordPress/WordPress-Coding-Standards/releases/tag/3.4.1 | x_refsource_MISC | |
| https://github.com/WordPress/WordPress-Coding-Standards/security/advisories/GHSA-3pwp-g2mj-5p3v | x_refsource_CONFIRM | |
| https://github.com/advisories/GHSA-3pwp-g2mj-5p3v | Advisory |
Change history (0)
No recorded changes yet.