chore: update WPCS to patch CVE-2026-45293 - #1854
Conversation
Bumps wp-coding-standards/wpcs to 3.4.1 and automattic/vipwpcs to 3.1.0 (composer.lock only; composer.json constraints already allowed these versions). WPCS < 3.4.1 has an eval() arbitrary code execution vulnerability in the WordPress.WP.EnqueuedResourceParameters sniff (CVE-2026-45293 / GHSA-3pwp-g2mj-5p3v). Ran phpcs against the updated ruleset; no new violations, only a pre-existing unrelated warning in a test file. Refs PRO-1246 Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
|
Warning Review limit reachedYou’ve reached a temporary PR review limit under our Fair Usage Limits Policy. Next review available in: 14 minutes Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (1)
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
WordPressVIPMinimum.Performance.FetchingRemoteData.FileGetContentsUnknown flagged the file_get_contents() call in OptionsPageSourceTest because it can't statically verify the path isn't a URL. The argument is EDAC_PLUGIN_DIR . 'includes/options-page.php' — always a local path, never remote — so this is a false positive. Suppressed with phpcs:ignore and a justification comment. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
|
Pushed a follow-up commit: the one pre-existing warning noted in the PR description ( |
Summary
wp-coding-standards/wpcs) versions >= 0.14.1, < 3.4.1 have aneval()arbitrary code execution vulnerability in theWordPress.WP.EnqueuedResourceParameterssniff (CVE-2026-45293). This repo was locked to 3.3.0, which is vulnerable.composer update wp-coding-standards/wpcs automattic/vipwpcs --with-all-dependenciesto bring in the patched 3.4.1 (and vipwpcs 3.1.0, which bumped its own wpcs requirement).composer.jsonconstraints already allowed these versions, so onlycomposer.lockchanged.phpcs; no new violations from the updated ruleset (one pre-existing, unrelated warning in a test file).Linear: PRO-1246 (subtask of PRO-1245)
Test plan
composer update wp-coding-standards/wpcs automattic/vipwpcs --with-all-dependenciescomposer check-cs— no new violations🤖 Generated with Claude Code