Skip to content

16.1.0

Choose a tag to compare

@arodu arodu released this 04 Dec 17:17
ab39895

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.php or 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

Full Changelog: 16.0.5...16.1.0