Repository navigation
Conversation
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configuration
You can disable this status message by setting the Use the checkbox below for a quick retry:
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message. To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
wp/5.6 branch Actions: Configure Composer policy to ignore an irrelevant advisorywp/5.6 branch Actions: Configure the Composer advisory policy
eaf0543 to
1446821
Compare
1446821 to
05288f0
Compare
Part of #82937.
What?
Adds
config.policy.advisories.ignore-idtocomposer.jsonfor one advisory, with the reason it doesn't apply recorded in the entry itself.Why?
PKSA-mh9b-91zm-m1gy(CVE-2026-45293) is aneval()injection inwp-coding-standards/wpcs'WordPress.WP.EnqueuedResourceParameterssniff. It covers every release allowed by^2.2(2.2.0,2.2.1,2.3.0), so any Composer command that resolves dependencies fails:The sniff is only in the
WordPressandWordPress-Extrarulesets.phpcs.xml.distusesWordPress-Core,WordPress-Docsand individually named sniffs, so it never loads.CI installs from
composer.lock, which skips the advisory check. Butcomposer update,requireorremoveunder a current Composer hit it, and thewp-envcomposerservice runs thecomposer:2image (#84965), which follows every Composer 2 release. Keeping the reason in the ignore entry matches the otherwp/X.Ybranches.Testing
Composer 2.10.3 (
composerimage, PHP 8.5.10), this branch'scomposer.jsonandcomposer.lock, judged by exit status:composer update --dry-runPKSA-mh9b-91zm-m1gyNo other advisory blocks resolution.
Use of AI Tools
This PR was created by Claude Code under my supervision. All code should be treated as AI-produced and not yet reviewed by a human until this PR is marked Ready for Review.