{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-45293","id":"CVE-2026-45293","title":"WordPress Coding Standards (WordPressCS) contains an arbitrary code execution vulnerability","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 craf","descriptionLong":"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.","published":"2026-07-28T15:34:45.092Z","updated":"2026-10-28T02:31:10.419194717Z","reserved":"2026-05-11T20:14:43.201Z","status":"Awaiting Analysis","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":8.6,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H","rating":"high","source":"GitHub_M"},"metrics":[{"version":"3.1","score":8.6,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H","rating":"high","source":"GitHub_M"},{"version":"3.1","score":8.6,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H","rating":"high","source":"github.com"},{"version":"3.1","score":8.6,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H","rating":"high","source":"OSV"},{"version":"3.1","score":8.6,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H","rating":"high","source":"GitHub"}],"rating":"high","products":["WordPress-Coding-Standards"],"affectedProducts":[{"vendor":"WordPress","product":"WordPress-Coding-Standards","defaultStatus":null,"versions":[{"version":">= 0.14.1, < 3.4.1","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"Packagist","name":"wp-coding-standards/wpcs","purl":"pkg:composer/wp-coding-standards/wpcs","ranges":[">=0.14.1 <3.4.1"],"fixed":["3.4.1"],"advisory":"GHSA-3pwp-g2mj-5p3v"}],"cwes":["CWE-95"],"aliases":["GHSA-3pwp-g2mj-5p3v"],"references":[{"url":"https://github.com/WordPress/WordPress-Coding-Standards/security/advisories/GHSA-3pwp-g2mj-5p3v","tags":["x_refsource_CONFIRM","advisory","web"]},{"url":"https://github.com/WordPress/WordPress-Coding-Standards/pull/2771","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/WordPress/WordPress-Coding-Standards/commit/a29048d0bbef5cf25d42349c74e4072d3cbc8325","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/WordPress/WordPress-Coding-Standards/releases/tag/3.4.1","tags":["x_refsource_MISC","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/45xxx/CVE-2026-45293.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-45293","tags":["advisory"]},{"url":"https://github.com/WordPress/WordPress-Coding-Standards","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total"},"epss":0.00249,"epssPercentile":0.16348,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-45293","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-45293","ok":true,"note":"Awaiting Analysis"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-45293","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-3pwp-g2mj-5p3v","ok":true,"note":"GHSA-3pwp-g2mj-5p3v"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-45293","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}