chore: update WPCS to patch CVE-2026-45293 - #57
Merged
Conversation
Bumps wp-coding-standards/wpcs to 3.4.1 and automattic/vipwpcs to 3.1.0 (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. Refs PRO-1249 Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
|
Important Review skippedReview was skipped due to path filters ⛔ Files ignored due to path filters (1)
CodeRabbit blocks several paths by default. You can override this behavior by explicitly including those paths in the path filters. For example, including ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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).composer.jsonconstraints already allowed these versions, so onlycomposer.lockchanged.phpcs; no new violations.Linear: PRO-1249 (subtask of PRO-1245)
Test plan
composer update wp-coding-standards/wpcs automattic/vipwpcs --with-all-dependenciescomposer check-cs— clean, no violations🤖 Generated with Claude Code