mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-03 21:43:21 +00:00 
			
		
		
		
	CVE-2025-25195: Only send "active" change events to channel subscribers.
This fixes a bug where private stream event to update stream's active status was sent to all active users instead of just its subscribers.
This commit is contained in:
		@@ -1550,7 +1550,7 @@ def notify_stream_is_recently_active_update(stream: Stream, value: bool) -> None
 | 
			
		||||
        name=stream.name,
 | 
			
		||||
    )
 | 
			
		||||
 | 
			
		||||
    send_event_on_commit(stream.realm, event, active_user_ids(stream.realm_id))
 | 
			
		||||
    send_event_on_commit(stream.realm, event, can_access_stream_metadata_user_ids(stream))
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@transaction.atomic(durable=True)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user