0
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2026-08-09 21:45:25 +08:00
discourse/app
Mark VanLandingham 5e6d53d3bb
FIX: Gate MessageBus groups when closing topic (#40913)
## Summary

Current main still publishes topic timer reload events on /topic/<id>
without any MessageBus audience restriction. A focused request spec
against the real /message-bus/poll endpoint showed an anonymous client,
who cannot see a restricted-category topic, can subscribe from the
pre-timer message id and receive the timer-generated {reload_topic:
true} event. The payload is small, but it confirms the reported
restricted-topic existence/channel activity leak. Nearby code
demonstrates other topic MessageBus publishes are expected to merge
Topic#secure_audience_publish_messages, which the timer jobs do not do.
Patch-triage searches for the report id, GHSA terms, MessageBus/topic
timer/secure_audience/CloseTopic/OpenTopic keywords, and related
restricted-topic live-notification leaks did not find an exact
duplicate; inspected similar patches were different root
causes/components.

## Source

- Patch Triage: https://patch.discourse.org/patch-triage/1156


Co-authored-by: discourse-patch-triage
<272280883+discourse-patch-triage[bot]@users.noreply.github.com>
2026-06-15 15:27:07 -05:00
..
assets UX: minor expanding textarea fixes (#40910) 2026-06-15 15:23:25 -04:00
controllers FIX: Drop flash-based referer fallback in topics#show (#40901) 2026-06-15 18:10:39 +01:00
helpers DEV: Refactor worker and WASM loading for media-optimization-worker (#40793) 2026-06-12 09:18:32 +01:00
jobs FIX: Gate MessageBus groups when closing topic (#40913) 2026-06-15 15:27:07 -05:00
mailers FIX: allow custom email sender name via translation overrides (#40674) 2026-06-09 14:03:03 +04:00
models SECURITY: Hidden post link URLs leak through per-post link_counts (#40903) 2026-06-15 14:44:02 -05:00
queries/reports FIX: Enforce can_see_ip checks across admin IP features (#40019) 2026-05-19 11:37:20 +08:00
serializers SECURITY: Hidden post link URLs leak through per-post link_counts (#40903) 2026-06-15 14:44:02 -05:00
services FEATURE: Route all GitHub API requests through one rate-limited client (#40637) 2026-06-15 10:59:10 +02:00
views FEATURE: User API key device authorization flow (#40189) 2026-06-10 16:09:44 -04:00