0
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2026-08-06 02:51:10 +08:00
discourse/plugins/discourse-reactions/spec
Isaac Janzen 76f0734c7a
SECURITY: anonymous users can read hidden real names via reaction-user endpoints (#41931)
## Summary

Fix anonymous disclosure of hidden full names of reactors and likers via
reaction-user APIs when `enable_names` setting is disabled. The
`CustomReactionsController` now conditionally includes the `name` field
only when `enable_names` is enabled, ensuring the invariant that hidden
full names are not exposed to unauthenticated users.

## Source

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

Co-authored-by: discourse-patch-triage
<272280883+discourse-patch-triage[bot]@users.noreply.github.com>
2026-07-22 12:18:18 -05:00
..
fabricators
lib DEV: NameError when resolving reactions serializer helpers 2026-05-26 13:04:29 +08:00
models DEV: Restore a post_mover spec (#39551) 2026-04-27 10:43:43 +02:00
reports DEV: Update rubocop-discourse to 3.13 and autofix issues (#35073) 2025-10-06 16:11:01 +02:00
requests SECURITY: anonymous users can read hidden real names via reaction-user endpoints (#41931) 2026-07-22 12:18:18 -05:00
serializers UX: Ignored users reactions/likes should not show up (#39672) 2026-05-11 15:32:29 -03:00
services FEATURE: Prevent silenced users from liking and using reactions (#37040) 2026-01-13 13:59:57 +01:00
system FEATURE: add new chat reactions popup (#41028) 2026-06-25 14:56:08 +04:00
plugin_spec.rb DEV: Clean up scope resolution operators in plugins (#34979) 2025-09-30 14:36:34 +02:00