SCA: security update for wp-coding-standards/wpcs (GHSA-3pwp-g2mj-5p3v)

high Tenable Self-Hosted Container Security Plugin ID 445409

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- 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. (CVE-2026-45293)

Solution

Update the wp-coding-standards/wpcs library and its related packages to version 3.4.1 or later.

See Also

https://github.com/advisories/GHSA-3pwp-g2mj-5p3v

Plugin Details

Severity: High

ID: 445409

Version: Revision 1.1

Type: Local

Family: SCA Checks

Published: 7/28/2026

Updated: 7/28/2026

Risk Information

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: High

Base Score: 7.2

Temporal Score: 5.3

Vector: CVSS2#AV:L/AC:L/Au:N/C:C/I:C/A:C

CVSS Score Source: CVE-2026-45293

CVSS v3

Risk Factor: High

Base Score: 8.6

Temporal Score: 7.5

Vector: CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 7/28/2026

Vulnerability Publication Date: 7/28/2026

Reference Information

CVE: CVE-2026-45293

cwe: CWE-95