0
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2026-08-11 02:59:07 +08:00
discourse/plugins/discourse-solved/app/controllers/discourse_solved
Isaac Janzen 0337d7ddd8
SECURITY: /solution/by_user leaks whisper/hidden accepted-answer post (#41479)
## Summary

Prevent the unauthorized disclosure of hidden or whisper posts through
the `/solution/by_user` endpoint. The patch ensures that only posts
visible to the current visitor are returned by applying post-level
visibility filters and guardian authorization checks during
serialization.

## Source

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

Co-authored-by: discourse-patch-triage
<272280883+discourse-patch-triage[bot]@users.noreply.github.com>

---------

Co-authored-by: discourse-patch-triage[bot] <272280883+discourse-patch-triage[bot]@users.noreply.github.com>
2026-07-07 10:42:26 -05:00
..
admin_dashboard_support_controller.rb FEATURE: Add a Support section to the admin dashboard0 (#41359) 2026-07-06 09:31:51 +08:00
answer_controller.rb DEV: Allow multiple solutions in solved plugin (#39806) 2026-05-28 07:12:28 -05:00
shared_issue_controller.rb FEATURE: add solved me too button (#39652) 2026-05-13 17:03:25 +04:00
solved_topics_controller.rb SECURITY: /solution/by_user leaks whisper/hidden accepted-answer post (#41479) 2026-07-07 10:42:26 -05:00