This is a security release and all users are advised to update their WordPressCS install as soon as possible.
Changed
- The minimum required
PHPCSUtilsversion to 1.2.3 (was 1.2.2). #2770 - The minimum required
PHPCSExtraversion to 1.5.1 (was 1.5.0). #2770 - Various housekeeping, including documentation improvements.
Fixed
- SECURITY FIX: Running the
WordPress.WP.EnqueuedResourceParameterssniff over untrusted PHP code, for example, in a CI pipeline that lints pull requests, or on a developer machine reviewing third-party code, could lead to arbitrary command execution on the scanning host. #2771
This affects users of theWordPressandWordPress-Extrarulesets. TheWordPress-Coreruleset and theWordPress-Docsruleset are not affected.
For more details, see the security advisory
Thanks to @FORIMOC for responsibly disclosing the vulnerability.