CVE-2026-45293

Source
https://cve.org/CVERecord?id=CVE-2026-45293
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-45293.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-45293
Aliases
Published
2026-07-28T15:34:45.092Z
Modified
2026-07-29T03:46:46.543658277Z
Severity
  • 8.6 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H CVSS Calculator
Summary
WordPress Coding Standards (WordPressCS) contains an arbitrary code execution vulnerability
Details

WordPress Coding Standards is a set of PHPCodeSniffer 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 wpenqueuescript() and ran it through eval() inside its isfalsy() 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.

Database specific
{
    "cna_assigner": "GitHub_M",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/45xxx/CVE-2026-45293.json",
    "cwe_ids": [
        "CWE-95"
    ]
}
References

Affected packages

Git / github.com/wordpress/wordpress-coding-standards

Affected ranges

Type
GIT
Repo
https://github.com/wordpress/wordpress-coding-standards
Events
Database specific
{
    "extracted_events": [
        {
            "introduced": "0.14.1"
        },
        {
            "fixed": "3.4.1"
        }
    ],
    "source": "AFFECTED_FIELD"
}

Affected versions

0.*
0.14.1
1.*
1.0.0
1.1.0
1.2.0
1.2.1
2.*
2.0.0
2.0.0-RC1
2.1.0
2.1.1
2.2.0
2.2.1
2.3.0
3.*
3.0.0
3.0.1
3.1.0
3.2.0
3.3.0
3.4.0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-45293.json"