Security fix
Escapes user names in the profile page and the HTML account emails. Names
containing HTML are now rendered as text.
- Affected: 16.0.5 and earlier (16.x)
- Fixed in: 16.1.0
- Apps overriding
templates/Users/profile.phpor the four HTML email
templates should apply the same escaping.
Thanks to @iefken for the responsible disclosure and the patches.
WebAuthn 5
Upgrades web-auth/webauthn-lib to 5.3.13 or higher and requires PHP 8.2.
16.0.x used webauthn-lib 4.x, which is affected by published security
advisories.
This is a minor release with API changes for apps that extend
CakeDC\Users\Webauthn; see the
16.0 to 16.1 migration guide.
- Apps using WebAuthn 2FA:
composer require cakedc/users:^16.1 web-auth/webauthn-lib:^5.3.13. - Credentials stored by 16.0 keep working; users do not register again.
- Ed256/Ed512 are no longer offered, and 2FA no longer works inside a
cross-origin iframe. - 16.0.x is superseded by 16.1.
What's Changed
- ci: update workflow actions to current majors by @katsugtgz in #1188
- WebAuthn 5 migration by @arodu in #1206
- fix - escape user names in profile and email templates by @arodu in #1204
Full Changelog: 16.0.5...16.1.0