The CakePHP core team is happy to announce the immediate availability of CakePHP 3.10.2. This is a maintenance and security release for the 3.10 branch that fixes a couple community reported issues, and patches a security vulnerability.
Security Fixes
The 3.10.3 release contains an opt in security fix for CsrfProtectionMiddleware. Prior to this release, if an application has a cross-site-scripting vulnerability, or an attacker has access to a victim's browser CSRF tokens could be manipulated allowing CSRF bypass. This weakness stems from CSRF middleware accepting any matching pair of tokens. With the fix applied, only tokens generated by the host application will be accepted. This fix requires opt-in because it breaks compatibility with existing CSRF tokens that may be in user's browsers/sessions. To enable the new style tokens add the following:
// in src/Application.php
$middlewareQueue->add(new CsrfProtectionMiddleware([
'verifyTokenSource' => true
]));
Bugfixes
You can expect the following changes in 3.10.3. See the changelog for every commit.
Fixed a memory leak in TranslatorRegistry when loading translations from cache.
Contributors to 3.10.3
Thank you to all the contributors that helped make this release happen:
Mark Story
Val Bancer
As always, we would like to thank all the contributors that opened issues, created pull requests or updated the documentation.
CakePHP 3.10.2 released
The CakePHP core team is happy to announce the immediate availability of CakePHP 3.10.1. This is a maintenance release for the 3.10 branch that fixes several community reported issues.
Bugfixes
You can expect the following changes in 3.10.2. See the changelog for every commit.
Improved API docs.
Fixed Router::reverse() not handling passed parameters defined with setPass() properly.
Fixed BreadCrumbHelper::insertAt() at the last index.
Contributors to 3.10.2
Thank you to all the contributors that helped make this release happen:
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/rrd108/sanga/network/alerts).
Bumps cakephp/cakephp from 3.9.10 to 3.10.3.
Release notes
Sourced from cakephp/cakephp's releases.
... (truncated)
Commits
a848520
Update version number to 3.10.3309c899
Add configuration option to enable more secure CSRF token (#16481)477eff8
Merge pull request #16313 from bancer/patch-255830f07
Fix memory leak in TranslatorRegistry3fbf70a
Update version number to 3.10.2d90e57a
Merge pull request #16183 from Richard-Strittmatter/patch-14bbe7b8
Add note about url() not allowing local URLs6a016a3
Merge pull request #16169 from cakephp/backport-161605151cd3
Remove return type declaration11de411
Fix inserting at the end of crumbs in BreadCrumbHelperDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/rrd108/sanga/network/alerts).