mirror of
https://github.com/wekan/wekan.git
synced 2026-11-24 20:45:00 -05:00
GHSA-6xqf-jh8x-4wxc. The DDP methods archiveSelectedCards and createBoardFromCard asked only for the board's write capability. The Normal, assigned only role has it, but sees and changes only its own cards, so such a member who knew a card's id archived any card of the board - and its subtasks - and turned any card into a linked-board card. Both methods now also ask assignedOnlyAllowsCard, as copyCard does; archiveSelectedCards checks every card of the selection before it archives the first, so a refused selection changes nothing. A refusal is recorded in Admin Panel -> Problems as UnassignedArchiveBleed (authz.assigned-card-write, medium, never disabling the account). tests/assignedCardMethods.test.cjs drives the reported case and fails for any server method that takes a card id and decides by the board's write access alone; tests/playwright/specs/assigned-card-methods.e2e.js replays the reporter's calls against a running server. Thanks to tsurutanmen and xet7 !