html-embed: conservative collab strip removes admin's embed on a non-admin co-editor's store #29

Closed
opened 2026-06-20 20:31:53 +03:00 by Ghost · 0 comments

Found in security review of PR #16 (merged in 7a03321d).

Severity: low (data-loss / availability; documented, intentional).

The collab persist strip keys to the storing connection's user. If a non-admin co-editor stores while an admin's legitimately-authored embed exists and their store does not re-add it, the embed is stripped and the admin must re-add it.

  • File: apps/server/src/collaboration/extensions/persistence.extension.ts (~L154-164).
  • Currently fail-closed and intentional, documented in-code.

Possible refinement: diff against the previously persisted admin-authored embeds so an admin's embed survives a non-admin's unrelated store.

Found in security review of PR #16 (merged in 7a03321d). **Severity: low (data-loss / availability; documented, intentional).** The collab persist strip keys to the storing connection's user. If a non-admin co-editor stores while an admin's legitimately-authored embed exists and their store does not re-add it, the embed is stripped and the admin must re-add it. - File: `apps/server/src/collaboration/extensions/persistence.extension.ts` (~L154-164). - Currently fail-closed and intentional, documented in-code. **Possible refinement:** diff against the previously persisted admin-authored embeds so an admin's embed survives a non-admin's unrelated store.
Ghost added the bug label 2026-06-21 02:27:21 +03:00
Ghost closed this issue 2026-06-21 03:02:07 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: vvzvlad/gitmost#29