Skip to content

Commit 03d5368

Browse files
committed
Merge branch '3.x' into 4.x
2 parents f0e1ebb + 4c378e1 commit 03d5368

1 file changed

Lines changed: 26 additions & 0 deletions

File tree

CHANGELOG-3.x.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,30 @@
22

33
The file documents changes to the PHP_CodeSniffer project for the 3.x series of releases.
44

5+
6+
## [3.13.6] - 2026-08-06
7+
8+
**This is a security release and all users are advised to update their install(s) as soon as possible.**
9+
10+
### Changed
11+
- Various housekeeping, including improvements to the tests and documentation.
12+
- Thanks to [Sergei Morozov][@morozov] and [Juliette Reinders Folmer][@jrfnl] for their contributions.
13+
14+
### Fixed
15+
- **SECURITY FIX**: Running PHP_CodeSniffer over untrusted files, for example, in a CI pipeline that scans pull requests, or on a developer machine reviewing third-party code, could result in attacker-controlled shell commands being executed when the `Gitblame`, `Hgblame` or `Svnblame` report(s) would process a file whose name contains shell metacharacters. [#1473]
16+
- Users using the default `Full` report, or any of the other non-*blame reports, are not affected.
17+
- For more details, see the [security advisory][sec-1].
18+
- Thanks go to [Faze-up][@Faze-up] and [Volker Dusch][@edorian] for responsibly disclosing the vulnerability.
19+
- Additionally, thanks go to [Volker Dusch][@edorian], [Rodrigo Primo][@rodrigoprimo], [Dan Wallis][@fredden] and [Juliette Reinders Folmer][@jrfnl] for creating and testing the fix.
20+
21+
### Other
22+
- The GPG signature for the PHAR files has been rotated. The new fingerprint is: 5CB4F778BF9BC4FB67AE511D96E91A992CF22FF4.
23+
24+
[sec-1]: https://github.com/PHPCSStandards/PHP_CodeSniffer/security/advisories/GHSA-hmqg-cxww-wqhq
25+
26+
[#1473]: https://github.com/PHPCSStandards/PHP_CodeSniffer/pull/1473
27+
28+
529
## [3.13.5] - 2025-11-04
630

731
### Added
@@ -3804,6 +3828,7 @@ Additionally, thanks to [Alexander Turek][@derrabus] for consulting on the repo
38043828
=== Link list for release links ====
38053829
-->
38063830

3831+
[3.13.6]: https://github.com/PHPCSStandards/PHP_CodeSniffer/compare/3.13.5...3.13.6
38073832
[3.13.5]: https://github.com/PHPCSStandards/PHP_CodeSniffer/compare/3.13.4...3.13.5
38083833
[3.13.4]: https://github.com/PHPCSStandards/PHP_CodeSniffer/compare/3.13.3...3.13.4
38093834
[3.13.3]: https://github.com/PHPCSStandards/PHP_CodeSniffer/compare/3.13.2...3.13.3
@@ -3902,6 +3927,7 @@ Additionally, thanks to [Alexander Turek][@derrabus] for consulting on the repo
39023927
[@enl]: https://github.com/enl
39033928
[@exussum12]: https://github.com/exussum12
39043929
[@fabacino]: https://github.com/fabacino
3930+
[@Faze-up]: https://github.com/Faze-up
39053931
[@fcool]: https://github.com/fcool
39063932
[@filips123]: https://github.com/filips123
39073933
[@Fischer-Bjoern]: https://github.com/Fischer-Bjoern

0 commit comments

Comments
 (0)