github basecamp/once-campfire v1.5.2

3 hours ago

What's Changed

Security fixes

Upgrading is recommended for all installations.

  • A room member could displace another member's message in everyone's live view. Message elements on the page were identified by a value the sending browser chooses, so a member could post a message that took the place of someone else's message for every member watching the room, and later edits or deletes of that message landed on the other person's message too. A member could also edit one of their own messages so that its text appeared in place of someone else's, under that person's name. Stored messages were never changed, and reloading the page showed the correct conversation. Messages are now identified on the page by their server-assigned id. (GHSA-3v99-4vxh-xg84)
  • Banned users kept receiving push notifications. Banning a user signed them out but left their browser or phone subscribed to push notifications, so they went on receiving the room name, sender and text of new direct messages, mentions, and messages in rooms they followed closely. Banned users are no longer sent notifications; lifting the ban restores them. (GHSA-8c6m-5c7f-26fp, #338)

Reported by @frandle331-yh and @namespaceMarcello.

Browser tabs left open across the upgrade may show their own new messages twice until they're reloaded.

Other changes

Full changelog: v1.5.1...v1.5.2

Don't miss a new once-campfire release

NewReleases is sending notifications on new releases.